Tell me why you want this Data Analyst role at The Home Depot, and walk me through a couple of basic SQL questions.
Use the tables below to answer the SQL portion.
department_name, active_associate_count, open_order_count, open_order_rate.open_order_rate descending, then department_name ascending.| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique department identifier |
| department_name | VARCHAR(100) | Department name |
| Column | Type | Description |
|---|---|---|
| associate_idPK | INT | Unique associate identifier |
| department_id | INT | Department the associate belongs to |
| associate_name | VARCHAR(100) | Associate name |
| is_active | BOOLEAN | Whether the associate is currently active |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| department_id | INT | Department associated with the order |
| order_status | VARCHAR(20) | Order status such as open, closed, or canceled |
| order_amount | DECIMAL(10,2) | Order amount, may be null for incomplete records |