Show names of technicians and the number of machines they are assigned to repair.
create table repair_assignment (technician_id varchar, PRIMARY KEY (technician_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name))
select t2.name, count(*) from repair_assignment as t1 join technician as t2 on t1.technician_id = t2.technician_id group by t2.name