Question: display the department name and number of employees in each of the department.
Schema: create table employees (department_id varchar, PRIMARY KEY (department_id)); create table departments (department_id varchar, PRIMARY KEY (department_id))
SQL: select department_name, count(*) from employees as t1 join departments as t2 on t1.department_id = t2.department_id group by department_name