Question: How many models does each car maker produce? List maker full name, id and the number.
Schema: create table model_list (maker varchar, PRIMARY KEY (maker)); create table car_makers (fullname varchar, id varchar, PRIMARY KEY (fullname))
SQL: select t1.fullname, t1.id, count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id