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

Kursinnehåll

Introduction to SQL

Introduction to SQL

1. Getting Started
3. Sorting Data
4. Populating a Database
5. Updating & Deleting Data

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.

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 7
toggle bottom row

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.

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 7
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt