SQL - GROUP BY and HAVING
Given a
transactions table with columns city, agent, and amount, which query returns total sales per city and counts distinct agents in each city?