SQL Exercises - Scientists - Wikibooks, Open Books For An Open World
SQL Exercises - Scientists - Wikibooks, Open Books For An Open World
SQL
Exercises/Scientists
< SQL Exercises
Relational Schema
Exercises
List all the scientists' names, their projects' names, and the hours worked by that scientist on
each project, in alphabetical order of project name, then scientist name.
Click to see solution
SSN int,
);
Code Char(4),
Hours int,
);
);
Sample dataset
VALUES(123234877,'Michael Rogers'),
(152934485,'Anand Manikutty'),
(326587417,'Joe Stevens'),
(332154719,'Mary-Anne Foster'),
(332569843,'George ODonnell'),
(546523478,'John Doe'),
(631231482,'David Smith'),
(654873219,'Zacary Efron'),
(745685214,'Eric Goldsmith'),
(845657245,'Elizabeth Doe'),
(845657246,'Kumar Swamy');
VALUES (123234877,'AeH1'),
(152934485,'AeH3'),
(222364883,'Ast3'),
(326587417,'Ast3'),
(332154719,'Bte1'),
(546523478,'Che1'),
(631231482,'Ast3'),
(654873219,'Che1'),
(745685214,'AeH3'),
(845657245,'Ast1'),
(845657246,'Ast2'),
(332569843,'AeH4');
Retrieved from
"https://en.wikibooks.org/w/index.php?
title=SQL_Exercises/Scientists&oldid=3677749"
Last edited 2 years ago by DannyS712
Wikibooks