Question: List document type codes and the number of documents in each code.
Schema: create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))
SQL: select document_type_code, count(*) from documents group by document_type_code