Challenge: Two Singers
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.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5.88
Challenge: Two Singers
Swipe to show menu
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.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 5.88single