Database: cre_Doc_Template_Mgt
Question: What is the document id with 1 to 2 paragraphs?
SQL:
SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2