CREATE TABLE assignedto (scientist VARCHAR2)
CREATE TABLE scientists (name VARCHAR2, ssn VARCHAR2)

Find the number of projects which each scientist is working on and scientist's name.
SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name
SELECT COUNT(*), "T1"."name" FROM "scientists" "T1" JOIN "assignedto" "T2" ON "T1"."ssn" = "T2"."scientist" GROUP BY "T1"."name"