This advanced SQL exercise is part of the book: Advanced SQL – Practical Techniques and Use-Cases, which includes 100 day-to-day SQL challenges (and solutions), need-to-know advanced features, and key concepts.
 

A used cars store manages the following table. This table contains the model number, car manufacturer, model name, and production date.


CREATE TABLE Cars
(MakeID int,
Make varchar(25),
Model varchar(25),
ReleaseDate date)

Would you like to read more?