find the names of scientists who are assigned to any project.
select name from scientists where ssn in (select scientist from assignedto)
how about those who are not involved in any project?
select name from scientists where ssn not in (select scientist from assignedto)
count the number of those scientists.
select count(*) from scientists where ssn not in (select scientist from assignedto)