Write SQL queries using JOIN, LIKE, LIMIT and GROUP BY.
Asked in the Technical stage. Reconstructed from the candidate's own answer. Using the departments and employees tables, return department summaries for employees whose names begin with A.
department_name, matching_employee_count.| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique department identifier |
| department_name | VARCHAR(100) | Department name |
| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(150) | Employee's full name |
| department_id | INT | Employee's department identifier |