Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Help a Customer Find a Book | Sorting Data
Introduction to SQL
course content

Kursusindhold

Introduction to SQL

Introduction to SQL

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

book
Challenge: Help a Customer Find a Book

Another day as a librarian, a customer comes up to you curious about finding a specific book. They remember some vague details about the book, which will help narrow down the search.

The details:

  • The book belongs to the History genre.
  • It was published between 2014 and 2017 (inclusive).
  • Its title begins with the letter 'Z'.
Opgave

Swipe to start coding

Write a query that fetches all the books that match the first two conditions, and to be able to easily look through all the books beginning with Z, simply order the results by title in descending order.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 7
toggle bottom row

book
Challenge: Help a Customer Find a Book

Another day as a librarian, a customer comes up to you curious about finding a specific book. They remember some vague details about the book, which will help narrow down the search.

The details:

  • The book belongs to the History genre.
  • It was published between 2014 and 2017 (inclusive).
  • Its title begins with the letter 'Z'.
Opgave

Swipe to start coding

Write a query that fetches all the books that match the first two conditions, and to be able to easily look through all the books beginning with Z, simply order the results by title in descending order.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 7
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt