Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Find Country Capitals | Section
SQL: Filtering, Sorting, and Aggregating Data
Sektion 1. Kapitel 9
single

single

bookChallenge: Find Country Capitals

Stryg for at vise menuen

Opgave

Swipe to start coding

Write an SQL query to retrieve all unique values in the capital column from the country table. Use the SELECT statement with the DISTINCT keyword to ensure that each capital appears only once in the result. Your query should select only the capital column.

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 1. Kapitel 9
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt