How many documents are there?
select count ( * ) from documents
How many of them have expenses?
select count ( document_id ) from documents_with_expenses
What are the different document types?
select distinct document_type_code from documents
Is GV the only budget type?
select distinct budget_type_code from documents_with_expenses