Task: Text to Code
Input (English): SQL: SELECT Major FROM Student GROUP BY Major HAVING Count ( * ) > = 2
Feedback: Replace major with stuid , and find allergy in has allergy instead of major in student table .
Output (English): SELECT StuID FROM Has_allergy GROUP BY StuID HAVING count(*)  >=  2