Question: SELECT s . ShipmentID, s . ContainerType, s . ContainerCount, s . BookingDate, s . SailingDate, s . ArrivalDate, s . CollectionDate FROM Shipment s

SELECT
s.ShipmentID,
s. ContainerType,
s. ContainerCount,
s.BookingDate,
s. SailingDate,
s.ArrivalDate,
s.CollectionDate
FROM Shipment s
JOIN Customer c ON s.CustomerID = c.CustomerID
WHERE c.CustomerName = 'John Watson'
AND EXTRACT (YEAR FROM s.BookingDate)=2021
ORDER BY s.BookingDate; explain the above code ?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!