SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1
What is the document id with least number of paragraphs?
SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count ( * ) ASC LIMIT 1
select document_id from paragraphs group by document_id order by count ( * ) asc limit value
What is the document id with least number of paragraphs ?