Database: customers_and_invoices
Question: How many transactions correspond to each invoice number?
SQL:
SELECT invoice_number ,  count(*) FROM Financial_transactions GROUP BY invoice_number