Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Defining Ranges | Filtering 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: Defining Ranges

In the Book Sale, there is a section for medium-priced books. It is supposed to contain books that cost more than $15 and less than $20. Your task is to make a list of all such books so they can be transferred to that section.

Opgave

Swipe to start coding

Write an SQL query which fetches the titles, authors and publication dates of all the books that fall in the price range of 15 to 20 dollars (inclusive of 15 and 20).

Note

Use the book_store table.

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

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

book
Challenge: Defining Ranges

In the Book Sale, there is a section for medium-priced books. It is supposed to contain books that cost more than $15 and less than $20. Your task is to make a list of all such books so they can be transferred to that section.

Opgave

Swipe to start coding

Write an SQL query which fetches the titles, authors and publication dates of all the books that fall in the price range of 15 to 20 dollars (inclusive of 15 and 20).

Note

Use the book_store table.

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

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