SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*)  >=  2
What are the ids of documents that have 2 or more paragraphs?
SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count ( * ) > = 2
select document_id from paragraphs group by document_id having count ( * ) > = value
What are the ids of documents that have 2 or more paragraphs ?