Database: cre_Doc_Template_Mgt
Question: List all document ids with at least two paragraphs.
SQL:
SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*)  >=  2