SELECT project_id FROM Documents GROUP BY project_id ORDER BY count(*) ASC LIMIT 1
What is the id of the project with least number of documents?
SELECT project_id FROM Documents GROUP BY project_id ORDER BY count ( * ) ASC LIMIT 1
select project_id from documents group by project_id order by count ( * ) asc limit value
What is the id of the project with least number of documents ?