Show the names of companies and the number of employees they have
create table company (name varchar, company_id varchar, PRIMARY KEY (name)); create table people (people_id varchar, PRIMARY KEY (people_id)); create table employment (people_id varchar, company_id varchar, PRIMARY KEY (people_id))
select t3.name, count(*) from employment as t1 join people as t2 on t1.people_id = t2.people_id join company as t3 on t1.company_id = t3.company_id group by t3.name