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
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 5.88
Challenge: Two Singers
Glissez pour afficher le 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
Merci pour vos commentaires !
Awesome!
Completion rate improved to 5.88single