SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2
Give the ids of documents that have between one and two paragraphs.
SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count ( * ) BETWEEN 1 AND 2
select document_id from paragraphs group by document_id having count ( * ) between value and value
Give the ids of documents that have between one and two paragraphs .