CREATE TABLE projects (code TEXT, name TEXT, hours DECIMAL)
CREATE TABLE assignedto (scientist DECIMAL, project TEXT)
CREATE TABLE scientists (ssn DECIMAL, name TEXT)

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" AS "T1" JOIN "assignedto" AS "T2" ON "T1"."ssn" = "T2"."scientist" GROUP BY "T1"."name"