WHERE X.A > Y.D AND X.A = Z.E
_________________
10. Which of the operations SELECT, PROJECT, and JOIN are actually used when executing the
following SQL instruction?
SELECT A, B
FROM X
WHERE C = D
________________________________
11. Given the relation Employees containing the attributes Name, Address, and BirthDate, what
question is answered by the following sequence of operations?
Temp SELECT from Employees where BirthDate < “January 4, 1975”
Result PROJECT Name from Temp
________________________________
12. Given the relation Employees containing the attributes Name, Address, and CurrentJobID and
the relation Jobs containing the attributes JobID, SkillRating, Department, what question is
answered by the following sequence of operations?
Temp1 JOIN Employees and Jobs
where Employees.CurrentJobID = Jobs.JobID
Temp2 SELECT from Temp1 where Department = “Personnel”
Result PROJECT Name from Temp2
________________________________
13. Given the relation Employees containing the attributes Name, Address, and CurrentJobID and
the relation Jobs containing the attributes JobID, SkillRating, Department, what question is
answered by the following SQL statement?
SELECT SkillRating
FROM Employees, Jobs
WHERE Employees.Name = “Joe Smith”
AND Employees.CurrentJobID = Jobs.JobID
________________________________
14. Place an X in the space before those requests below that require data mining techniques rather than
traditional database techniques. Leave the other spaces blank.