Database: manufactory_1
Question: Find the number of different products that are produced by companies at different headquarter cities.
SQL:
SELECT count(DISTINCT T1.name) ,  T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.Headquarter