Add part 3d solution
parent
5863ae7b2a
commit
d1c569f6b0
|
@ -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;
|
||||
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;
|
Loading…
Reference in New Issue