Task: Text to Code
Input (English): Show all student IDs who have at least two allergies.
Output (English): SELECT StuID FROM Has_allergy GROUP BY StuID HAVING count(*)  >=  2