How would you describe your experience with data migration projects?
For this SQL exercise, demonstrate that experience by identifying source records from completed migration batches that are missing or inconsistent in the target system.
source_customer_id, customer_code, target_customer_id, validation_status, and source_updated_at.source_customer_id ascending.| Column | Type | Description |
|---|---|---|
| batch_idPK | INT | Migration batch identifier |
| batch_name | VARCHAR(100) | Migration batch name |
| migration_date | DATE | Date the batch was processed |
| status | VARCHAR(20) | Batch processing status |
| Column | Type | Description |
|---|---|---|
| source_customer_idPK | INT | Customer identifier in the source system |
| customer_code | VARCHAR(20) | Business customer code |
| full_name | VARCHAR(100) | Customer full name in the source system |
| VARCHAR(150) | Customer email address | |
| status | VARCHAR(20) | Source customer status |
| updated_at | TIMESTAMP | Source record update timestamp |
| batch_id | INT | Migration batch containing the record |
| Column | Type | Description |
|---|---|---|
| target_customer_idPK | INT | Customer identifier in the target system |
| source_customer_id | INT | Original source customer identifier |
| customer_code | VARCHAR(20) | Business customer code in the target system |
| full_name | VARCHAR(100) | Customer full name in the target system |
| VARCHAR(150) | Customer email address in the target system | |
| status | VARCHAR(20) | Target customer status |
| loaded_at | TIMESTAMP | Target load timestamp |