diff --git a/Cruise.sql b/Cruise.sql index e9be1d3..076f4a5 100644 --- a/Cruise.sql +++ b/Cruise.sql @@ -146,7 +146,7 @@ SELECT DISTINCT Cruise.CompanyName, Cruise.cruiseName FROM Cruise ORDER BY Cruise.CompanyName ASC; -- 3c -SELECT companyName || Company.stockSymbol AS CruiseCompany, Cruise.cruiseName, Reservation.travelDate FROM Reservation +SELECT companyName || ' ' || Company.stockSymbol AS CruiseCompany, Cruise.cruiseName, Reservation.travelDate FROM Reservation NATURAL JOIN Cruise NATURAL JOIN Company WHERE Cruise.Days >= 10 AND Reservation.travelDate >= '1-JAN-2019'