How many students are there?
select count ( distinct stuid ) from has_allergy
How many allergies are there?
select count ( distinct allergy ) from has_allergy
Can you display all student IDs with at least two allergies?
select stuid from has_allergy group by stuid having count ( * ) > = 2