Context: CREATE TABLE Paragraphs (document_id VARCHAR)
Question: List all document ids with at least two paragraphs.
Answer: SELECT document_id FROM Paragraphs GROUP BY document_id HAVING COUNT(*) >= 2