Challenge: Help a Customer Find a Book
Another day as a librarian, a customer comes up to you curious about finding a specific book. They remember some vague details about the book, which will help narrow down the search.
The details:
- The book belongs to the
History
genre. - It was published between 2014 and 2017 (inclusive).
- Its title begins with the letter 'Z'.
Swipe to start coding
Write a query that fetches all the books that match the first two conditions, and to be able to easily look through all the books beginning with Z
, simply order the results by title
in descending order.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.72
Challenge: Help a Customer Find a Book
Swipe to show menu
Another day as a librarian, a customer comes up to you curious about finding a specific book. They remember some vague details about the book, which will help narrow down the search.
The details:
- The book belongs to the
History
genre. - It was published between 2014 and 2017 (inclusive).
- Its title begins with the letter 'Z'.
Swipe to start coding
Write a query that fetches all the books that match the first two conditions, and to be able to easily look through all the books beginning with Z
, simply order the results by title
in descending order.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 1.72single