Write a SQL query to find records that appear in one table but not another.
Use source_records as the table containing the complete expected record set and comparison_records as the table to check. Return records present in source_records that have no matching record_id in comparison_records.
record_id.record_id in ascending order.| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier expected in the source dataset |
| record_name | VARCHAR(100) | Descriptive name of the record |
| record_status | VARCHAR(30) | Optional status assigned to the source record |
| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier found in the comparison dataset |
| record_name | VARCHAR(100) | Descriptive name of the comparison record |
| record_status | VARCHAR(30) | Optional status assigned to the comparison record |