Add space between company and stock code

This commit is contained in:
Nick Krichevsky 2019-08-29 15:18:58 -04:00
parent 6c28bb3d6b
commit dd1da53b9a

View file

@ -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'