From dd1da53b9aa0fc571b4041ecfffbb99c96fdc5ec Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Thu, 29 Aug 2019 15:18:58 -0400 Subject: [PATCH] Add space between company and stock code --- Cruise.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'