Write a query to display the movie number, movie genre, average movie cost of movies in that

Question:

Write a query to display the movie number, movie genre, average movie cost of movies in that genre, movie cost of that individual movie, and the percentage difference between the average movie cost and the individual movie cost (result shown in Figure). The percentage difference is calculated as the cost of the individual movie minus the average cost of movies in that genre, divided by the average cost of movies in that genre multiplied by 100. For example, if the average cost of movies in the €œFamily€ genre is $25, if a given Family movie cost $26, then the calculation would be ((26 €“ 25) / 25 * 100), which would work out to be 4.00%. This indicates that this movie costs 4% more than the average Familymovie.
Write a query to display the movie number, movie genre,
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: