Find the number of projects which each scientist is working on and scientist's name.
create table scientists (name varchar, ssn varchar, PRIMARY KEY (name)); create table assignedto (scientist varchar, PRIMARY KEY (scientist))
select count(*), t1.name from scientists as t1 join assignedto as t2 on t1.ssn = t2.scientist group by t1.name