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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!