Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Help a Reader Find Their Favorite Genre | Filtering Data
Introduction to SQL
course content

Kursinnhold

Introduction to SQL

Introduction to SQL

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

book
Challenge: Help a Reader Find Their Favorite Genre

You are doing your job as a librarian when a reader approaches you saying they're in the mood for books from the Fantasy genre. They ask you to quickly find all the books in that category.

Oppgave

Swipe to start coding

Write an SQL query using the WHERE clause to find the titles of all the books where the genre is "Fantasy".

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

Note

Strings in SQL are case-sensitive. Therefore 'fantasy' is not the same as 'Fantasy'.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 2
toggle bottom row

book
Challenge: Help a Reader Find Their Favorite Genre

You are doing your job as a librarian when a reader approaches you saying they're in the mood for books from the Fantasy genre. They ask you to quickly find all the books in that category.

Oppgave

Swipe to start coding

Write an SQL query using the WHERE clause to find the titles of all the books where the genre is "Fantasy".

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

Note

Strings in SQL are case-sensitive. Therefore 'fantasy' is not the same as 'Fantasy'.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 2
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt