Write SQL to validate system requirements by comparing data across tables and identifying mismatches.
Compare the expected requirement values with the observed system values, including records missing from either table and NULL values.
requirement_id, requirement_name, expected_value, observed_value, and mismatch_type.requirement_id ascending.| Column | Type | Description |
|---|---|---|
| requirement_idPK | INT | Unique identifier for the system requirement |
| requirement_name | VARCHAR(100) | Name of the requirement |
| expected_value | VARCHAR(100) | Value required by the specification |
| Column | Type | Description |
|---|---|---|
| requirement_idPK | INT | Identifier of the validated requirement |
| observed_value | VARCHAR(100) | Value observed in the system |
| validation_status | VARCHAR(20) | Recorded validation status |