Explain the difference between JDBC Statement and PreparedStatement, and how you would parse and use the returned results from a query.
Use the query_results table below as the source of returned rows. Focus on how the result set should be read, filtered, and mapped into usable values.
result_id, sql_text, row_count, status, parsed_value.status is NULL.result_id ascending.| Column | Type | Description |
|---|---|---|
| result_idPK | INT | Unique identifier for the returned result row |
| sql_text | VARCHAR(500) | SQL text that was executed |
| row_count | INT | Number of rows returned by the query |
| status | VARCHAR(20) | Execution status for the returned row |
| parsed_value | VARCHAR(100) | Value parsed from the result set |