Contenido del Curso
Data Manipulation using SQL
Data Manipulation using SQL
Challenge: Two Singers
Swipe to show code editor
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.
¡Gracias por tus comentarios!
Challenge: Two Singers
Swipe to show code editor
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.
¡Gracias por tus comentarios!