CREATE TABLE AssignedTo (Scientist VARCHAR(255), Project VARCHAR(255)); CREATE TABLE Projects (Name VARCHAR(255), Hours VARCHAR(255), Code VARCHAR(255)); CREATE TABLE Scientists (Name VARCHAR(255), SSN VARCHAR(255))
List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.
    
SQL: SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name