What is the ID of the project with the least number of documents?
select project_id from documents group by project_id order by count ( * ) asc limit 1
What is the ID of the project with the most number of documents?
select project_id from documents group by project_id order by count ( * ) desc limit 1
yes
select document_date from documents where document_id = 105