Question: please using oracle sql!!! Use only the following tables: movie table movie_id title year budget gross plot_summary customer_target cust_id is_target genre genre_id name activity activity_id
please using oracle sql!!!
Use only the following tables: movie table
| movie_id | title | year | budget | gross | plot_summary |
customer_target
| cust_id | is_target |
genre
| genre_id | name |
activity
| activity_id | name |
movie_fact
| cust_id | movie_id | genre_id | time_id | recommended | activity_id | rating | sales |
1. What are the title and plot description of the movie that lost the most money? (How much money was lost is, to me, budget - gross.)
2. What is the name of one movie that has the most genres associated with it? Your query should take into account that several different movies
might have the same name.
3. What are the different genre names of the movie found in the previous question? Please assume that only one movie has this name.
4. For each possible genre, how many movies with that genre are there, and what is the gross amount for the top-grossing movie of that genre?
5. How many movies received ratings under two (or more) different genres from a given customer?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
