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