Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Two Singers | SQL Tasks
Data Manipulation using SQL

Stryg for at vise menuen

book
Challenge: Two Singers

Opgave

Swipe to start coding

Find the names of the oldest and youngest singers (i. e. singers with oldest and newest releases). Return two records containing the singer's name (naming), his song (title), and release date (year).

Note that some fields can be NULL, excpet year. Thus, you should add WHERE statement to include all albums where the year is not null. Other fields can be NULL.

Print two records in total: first one is for the oldest singer, and the second one is for the youngest singer.

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 5

Spørg AI

expand
ChatGPT

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

book
Challenge: Two Singers

Opgave

Swipe to start coding

Find the names of the oldest and youngest singers (i. e. singers with oldest and newest releases). Return two records containing the singer's name (naming), his song (title), and release date (year).

Note that some fields can be NULL, excpet year. Thus, you should add WHERE statement to include all albums where the year is not null. Other fields can be NULL.

Print two records in total: first one is for the oldest singer, and the second one is for the youngest singer.

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