SELECT project_id FROM Documents GROUP BY project_id ORDER BY count(*) ASC LIMIT 1
Return the id of the project that has the fewest corresponding 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
Return the id of the project that has the fewest corresponding documents .