Given two tables, write a query to identify records present in one but not the other using various join types.
Compare records using record_id. Return only records that exist in exactly one table, while preserving the identifying details available from either side.
record_idrecord_id, table_a_name, table_b_name, and presencepresence must identify whether the record exists only in table_a or only in table_brecord_id ascending| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique record identifier |
| record_name | VARCHAR(100) | Descriptive record name |
| status | VARCHAR(30) | Current record status |
| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique record identifier |
| record_name | VARCHAR(100) | Descriptive record name |
| status | VARCHAR(30) | Current record status |