Add space between company and stock code

master
Nick Krichevsky 2019-08-29 15:18:58 -04:00
parent 6c28bb3d6b
commit dd1da53b9a
1 changed files with 1 additions and 1 deletions

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'