Task: Text to Code
Input (English): List all document ids with at least two paragraphs.
Output (English): SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*)  >=  2