fbpx

82. Locating Missing Ranges

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

To read more

UpScale Analytics is one of the largest platforms in the world for learning SQL by doing, consisting over 300 SQL exercises at different levels (including solutions), by topics, across over 100 different datasets. More…