CREATE TABLE Projects (Code CHAR, Name CHAR, Hours INT)
CREATE TABLE AssignedTo (Scientist INT, Project CHAR)
CREATE TABLE Scientists (SSN INT, Name CHAR)

Find the number of scientists involved for the projects that require more than 300 hours Show bar chart, and list X-axis in ascending order.
SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project WHERE T1.Hours > 300 GROUP BY T1.Name ORDER BY Name
SELECT "Name", COUNT(*) FROM "Projects" AS "T1" JOIN "AssignedTo" AS "T2" ON "T1"."Code" = "T2"."Project" WHERE "T1"."Hours" > 300 GROUP BY "T1"."Name" ORDER BY "Name" NULLS FIRST