diff --git a/Cruise.sql b/Cruise.sql index 0e70f4f..de4c234 100644 --- a/Cruise.sql +++ b/Cruise.sql @@ -151,4 +151,9 @@ SELECT companyName || Company.stockSymbol AS CruiseCompany, Cruise.cruiseName, R NATURAL JOIN Cruise NATURAL JOIN Company WHERE Cruise.Days >= 10 AND Reservation.travelDate >= '1-JAN-2019' - ORDER BY Cruise.cruiseName ASC, Reservation.travelDate ASC; \ No newline at end of file + ORDER BY Cruise.cruiseName ASC, Reservation.travelDate ASC; + +-- 3d +SELECT travelAgent.firstName, travelAgent.lastName, travelAgent.title FROM travelAgent + LEFT JOIN Reservation ON travelAgent.travelAgentID = Reservation.travelAgentID + WHERE Reservation.travelAgentID IS NULL; \ No newline at end of file