Database: cre_Doc_Template_Mgt
Question: Return the id of the document with the fewest paragraphs.
SQL:
SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1