CREATE TABLE Projects (Code CHAR, Name CHAR, Hours NUMBER)
CREATE TABLE AssignedTo (Scientist NUMBER, Project CHAR)
CREATE TABLE Scientists (SSN NUMBER, 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" "T1" JOIN "AssignedTo" "T2" ON "T1"."Code" = "T2"."Project" WHERE "T1"."Hours" > 300 GROUP BY "T1"."Name" ORDER BY "Name"