Database: cre_Docs_and_Epenses
Question: Show all statement id and the number of accounts for each statement.
SQL:
SELECT STATEMENT_ID ,  count(*) FROM Accounts GROUP BY STATEMENT_ID