What were the dates that APP sent their grants?
select sent_date from documents where document_type_code = "APP"
Ah. And how many grants can APP have total?
select count ( grant_id ) from documents where document_type_code = "APP"
No, I mean what is the maximum number of grants that APP can have?
select max ( grant_id ) from documents where document_type_code = "APP"
I see. Can you list the id and number for every grand that APP has?
select grant_id from documents where document_type_code = "APP"