Question: What are the student ids of students who don't have any allergies?
Schema: create table has_allergy (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))
SQL: select stuid from student except select stuid from has_allergy