IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Data-Driven Decision Making in SQL

Visualizza il corso

Istruzioni dell'esercizio

  • 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.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

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 ___;
Modifica ed esegui il codice