Question: write SQL queries to answer the following questions. All questions pertain to our movies database 1. How many people are in the database? 2.What is
write SQL queries to answer the following questions. All questions pertain to our movies database
1. How many people are in the database?
2.What is the average age of people in the database?
3. Who is the youngest person in the database? 4. How many films were released in 2019? 5.What was the average gross of movies released between 2010 and 2019 (including 2010 and 2019)?
6. How many actors have played the role of Mufasa?
7.What is the average age of female directors and actresses in the database?
Bonus function 1. Write a query that calculates someone's age without using the defined "AGE)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
