Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Budget-Friendly Books | Filtering Data
Introduction to SQL

Swipe to show menu

book
Challenge: Budget-Friendly Books

The library decides to put some of the books on sale. A patron comes to you with a limited budget and asks for books that cost $20 or less. Your task is to compile a list of all the affordable options within their budget.

Task

Swipe to start coding

Write an SQL query to fetch the titles of all the books from the book_store table, where the price is less than or equal to 20.

The book_store table includes these columns: id, title, author, genre, publication_year, and price.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 7
We're sorry to hear that something went wrong. What happened?

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
Challenge: Budget-Friendly Books

The library decides to put some of the books on sale. A patron comes to you with a limited budget and asks for books that cost $20 or less. Your task is to compile a list of all the affordable options within their budget.

Task

Swipe to start coding

Write an SQL query to fetch the titles of all the books from the book_store table, where the price is less than or equal to 20.

The book_store table includes these columns: id, title, author, genre, publication_year, and price.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 7
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt