Database: advertising_agencies
Question: How many invoices are there for each client id?
SQL:
SELECT client_id ,  count(*) FROM Invoices GROUP BY client_id