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

Course Content

Data Manipulation using SQL

Data Manipulation using SQL

1. Database and Nested Queries
2. SQL Joining Tables
3. SQL Tasks

book
Challenge: Two Singers

Task
test

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 5
toggle bottom row

book
Challenge: Two Singers

Task
test

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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 5
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt