Question: Find the number of scientists who are not assigned to any project.
Schema: create table assignedto (ssn varchar, scientist varchar, PRIMARY KEY (ssn)); create table scientists (ssn varchar, scientist varchar, PRIMARY KEY (ssn))
SQL: select count(*) from scientists where not ssn in (select scientist from assignedto)