Database: advertising_agencies
Question: What are client ids for clients with at least 2 invoices.
SQL:
SELECT client_id FROM Invoices GROUP BY client_id HAVING count(*)  >=  2