Age of actors from the USA
Now you will explore the age of American actors and actresses. Report the date of birth of the oldest and youngest US actor and actress.
This exercise is part of the course
Data-Driven Decision Making in SQL
Exercise instructions
- Create a subsequent
SELECT
statements in theFROM
clause to get all information about actors from the USA. - Give the subsequent
SELECT
statement the aliasa
. - Report for actors from the USA the year of birth of the oldest and the year of birth of the youngest actor and actress.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
SELECT ___, -- Report for male and female actors from the USA
___, -- The year of birth of the oldest actor
___ -- The year of birth of the youngest actor
FROM
___ -- Use a subsequen SELECT to get all information about actors from the USA
___
___ -- Give the table the name a
GROUP BY ___;