Yes
No
A) Are the following queries equivalent? (8 points)
Query 1: SELECT S.name FROM Students S, Reserves R WHERE S.sid = R.sid AND R.bid = 103
Query 2: SELECT S.name FROM Students S WHERE S.sid IN (SELECT R.sid FROM Reserves R WHERE R.bid = 103)
Q6. (26 points) Consider the following relations: The primary keys are underlined. Write the following queries in SQL.
a) (6 points) Find the names of the youngest students.