Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Data-Driven Decision Making in SQL

Cursus bekijken

Oefeninstructies

  • Create a subsequent SELECT statements in the FROM clause to get all information about actors from the USA.
  • Give the subsequent SELECT statement the alias a.
  • Report for actors from the USA the year of birth of the oldest and the year of birth of the youngest actor and actress.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

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 ___;
Code bewerken en uitvoeren