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 book store manages a table that contains information about the various books it sells. As you can see, each row indicates the book’s serial number and name.
CREATE TABLE products (productID int, productName varchar(125) ) GO