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

A patron wants to explore either Mystery or Thriller books but isn't sure which one they prefer. Your job is to find all books that belong to either of these genres.

Opgave

Swipe to start coding

Write an SQL query to fetch the titles of all the books where the genre is "Mystery" or "Thriller".

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

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

book
Challenge: Matching Multiple Options

A patron wants to explore either Mystery or Thriller books but isn't sure which one they prefer. Your job is to find all books that belong to either of these genres.

Opgave

Swipe to start coding

Write an SQL query to fetch the titles of all the books where the genre is "Mystery" or "Thriller".

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

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