Challenge: Fetching Older Books
As a librarian, a patron approaches you with an interest in older literature and requests book recommendations published in the year 1990.
Swipe to start coding
Write a query which fetches the titles and authors of all the books that were published in the year 1990
The books table includes the columns: id, title, author, genre, publication_year, and price.
Note
In SQL, the numbers are not enclosed in quotes, unlike strings which are always enclosed in single quotes (
').
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: Fetching Older Books
Swipe to show menu
As a librarian, a patron approaches you with an interest in older literature and requests book recommendations published in the year 1990.
Swipe to start coding
Write a query which fetches the titles and authors of all the books that were published in the year 1990
The books table includes the columns: id, title, author, genre, publication_year, and price.
Note
In SQL, the numbers are not enclosed in quotes, unlike strings which are always enclosed in single quotes (
').
Solution
Thanks for your feedback!
single