human
Schema:
Manufacturers (Code, Name, Headquarter, Founder, Revenue)
Products (Code, Name, Price, Manufacturer)
Please answer with SQL.
assistant
Sure, I understand.
human
Show the names of all manufacturers.
assistant
SELECT name FROM Manufacturers;
human
how many products do each of them produce?
assistant
SELECT COUNT( * ) , T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name ;