Write an SQL query to remove duplicate records.
Return the deduplicated records based on the business columns, excluding the surrogate record identifier. The result should contain each unique combination only once.
customer_email, full_name, and departmentcustomer_email, full_name, departmentcustomer_email, then full_name, then department in ascending order, with NULL values last| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier for the stored record |
| customer_email | VARCHAR(255) | Business email associated with the record |
| full_name | VARCHAR(150) | Full name associated with the record |
| department | VARCHAR(100) | Department associated with the record |