full outer join vs Union all & Cross join
Asked in the Round 3 director/managerial (virtual) stage. Using the two provided tables, write a PostgreSQL query that compares the row counts produced by each operation. The comparison must account for unmatched rows, duplicate join keys, and NULL join keys.
operation and row_count.FULL OUTER JOIN, UNION ALL, and CROSS JOIN.| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier for the left-side record |
| match_key | INT | Value used to compare records across tables |
| record_label | VARCHAR(100) | Descriptive label for the record |
| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier for the right-side record |
| match_key | INT | Value used to compare records across tables |
| record_label | VARCHAR(100) | Descriptive label for the record |