Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Affordable Books | Sorting 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: Affordable Books

At the book sale, the library is also running a promotion to highlight recent affordable books. As a librarian your task is to create a list of the 20 cheapest books published after the year 2015 to showcase in the promotional section.

Uppgift

Swipe to start coding

Write an SQL query to retrieve the title, author, price, and publication_year of 20 cheapest books, sorted by their price in ascending order.

Don’t forget that these books need to have been published after 2015.

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 3. Kapitel 10
toggle bottom row

book
Challenge: Affordable Books

At the book sale, the library is also running a promotion to highlight recent affordable books. As a librarian your task is to create a list of the 20 cheapest books published after the year 2015 to showcase in the promotional section.

Uppgift

Swipe to start coding

Write an SQL query to retrieve the title, author, price, and publication_year of 20 cheapest books, sorted by their price in ascending order.

Don’t forget that these books need to have been published after 2015.

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 3. Kapitel 10
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