Challenge: Matching Multiple Options
A patron wants to explore either Mystery or Thriller books but isn't sure which one they prefer. Your job is to find all books that belong to either of these genres.
Swipe to start coding
Write an SQL query to fetch the titles of all the books where the genre is "Mystery
" or "Thriller
".
The books
table includes these columns: id
, title
, author
, genre
, and publication_year
.
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: Matching Multiple Options
Swipe to show menu
A patron wants to explore either Mystery or Thriller books but isn't sure which one they prefer. Your job is to find all books that belong to either of these genres.
Swipe to start coding
Write an SQL query to fetch the titles of all the books where the genre is "Mystery
" or "Thriller
".
The books
table includes these columns: id
, title
, author
, genre
, and publication_year
.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 1.72single