Challenge: Affordable Books
At the book sale, the library is also running a promotion to highlight recent affordable books. As a librarian your task is to create a list of the 20 cheapest books published after the year 2015 to showcase in the promotional section.
Task
Swipe to start coding
Write an SQL query to retrieve the title
, author
, price
, and publication_year
of 20 cheapest books, sorted by their price in ascending order.
Donβt forget that these books need to have been published after 2015.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 10