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.

Given a table that contains 30 products. Each row in the table specifies the product number, name, and price.
As shown in the (partial) image, the product prices vary between 10 and 300, in the following manner: The product price = the product number * 10.
For example: The cost of product number 2 = 20, product number 11 = 110, product 21 = 210, product 30 = 300, and so on.

(productID int,
ProductName varchar(25),
ProductPrice int)

Would you like to read more?