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

Find the number of scientists involved for the projects that require more than 300 hours.
SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project WHERE T1.hours > 300 GROUP BY T1.name
SELECT COUNT(*), "T1"."name" FROM "projects" AS "T1" JOIN "assignedto" AS "T2" ON "T1"."code" = "T2"."project" WHERE "T1"."hours" > 300 GROUP BY "T1"."name"