Question: Find the number of shops in each location.
Schema: create table shop (location varchar, PRIMARY KEY (location))
SQL: select count(*), location from shop group by location