Context: CREATE TABLE Has_allergy (StuID VARCHAR)
Question: Show all student IDs who have at least two allergies.
Answer: SELECT StuID FROM Has_allergy GROUP BY StuID HAVING COUNT(*) >= 2