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

While assisting people at your librarian post, someone approaches you, curious about books that have been published recently.

To help them, you decide to sort the books based on the publication year, such that the newest books are at the top.

Uppgift

Swipe to start coding

Your task is to write an SQL query to select title, author, publication_year and genre of all the books and display them sorted based on the publication_year column according to the customer's requirements.

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 2
toggle bottom row

book
Challenge: Sorting the Library Catalogue

While assisting people at your librarian post, someone approaches you, curious about books that have been published recently.

To help them, you decide to sort the books based on the publication year, such that the newest books are at the top.

Uppgift

Swipe to start coding

Your task is to write an SQL query to select title, author, publication_year and genre of all the books and display them sorted based on the publication_year column according to the customer's requirements.

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 2
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