Show titles, genre, director last name, rating for all movies with rating > average critic rating...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Show titles, genre, director last name, rating for all movies with rating > average critic rating of all movies. Use a subquery in the Where clause to find the average rating within the subquery. Order by title. (SCREENSHOT) Aliens Aliens Aliens Aliens Aliens Aliens Amadeus Amadeus Amadeus Amadeus Amadeus American Beauty American Beauty American Beauty Rom... Mendes American Rasiu Rnm Monda Geme L Action Cameron Action Cameron Action Cameron Action Cameron Action Cameron Action Cameron Drama Forman Aliens Aliens Aliens Aliens Aliens Aliens Drama Forman Drama Forman Drama Forman Drama Forman Rom... Mendes Rom... Mendes Show titles, genre, director last name and rating for all movies where: (1) rating is> average rating of all movies and (2) do not display movies from director Forman or romance movies Use a subquery in the Where clause. Order by title. (SCREENSHOT) MY 8.7 8.6 9.0 8.1 7.9 8.0 7.4 7.0 8.1 9.4 9.6 9.0 8.2 9.0 05 La Cameron Action Action Cameron Action Cameron Action Cameron Action Cameron Action Mary 8.7 8.6 9.0 8.1 7.9 8.0 7.8 9.5 Cameron American Splendor Comedy Springer Berman American Splendor Comedy Springer Berman American Splendor Comedy Springer Berman 8.0 American Splendor Comedy Springer Berman 9.6 American Splendor Comedy Springer Berman 8.3. American Splendor Comedy Springer Berman 9.1 American Splendor Comedy Springer Berman 7.3 American Splendor Comedy Springer Berman 9.5 Annie Hall Annie Hall Comedy Allen Comedy Allen Annie Hall Annie Hall Avatar Comedy Allen Comedy Allen Adven... Cameron 86575 9.8 8.6 8.5 7.7 N 7.5 Name director genre movie rating reviewer Infor Tables Engine InnoDB InnoDB InnoDB InnoDB InnoDB Version 10 10 10 10 10 Columns Indexes Triggers Row Format Dynamic Dynamic Dynamic Dynamic Dynamic Rows 32 13 35 366 29 Views Stored Procedures Functions Grants Events Avg Row Length 512 1260 468 44 564 Data Length 16.0 KiB 16.0 KIB 16.0 KiB 16.0 KiB 16.0 KIB Max Data Length 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes Index Length 0.0 bytes 0.0 bytes 32.0 KIB 16.0 KIB 0.0 bytes Data Free 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes Auto Incre 1 9 Table director director director genre genre movie movie movie movie movie movie movie movie movie moviesview moviesview moviesview moviesview moviesview moviesview moviesview moviesview rating rating rating reviewer reviewer Column dir_firstName > dir_lastName O O O O id gen_title id dir_id gen_id Info Tables id mov_dt_rel mov_lang mov_rel_country mov_time mov_title mov_year Director First Name O O Director Last Name Genre ID Rating Reviewer >Title Year mov_id rev_id rev_rating id rev_name Columns Type varchar(30) varchar(30) int varchar(10) int int int int date varchar(15) varchar(5) int varchar(35) int varchar(30) varchar(30) varchar(10) int decimal(6,1) varchar(45) varchar(35) int int int decimal(6,1) int varchar(45) Indexes Triggers Views Stored Procedures Functions Grants Events Default Value 0 Nullable NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO YES Character Set utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 Privileges select, insert, update, references select,insert,update, references select, insert,update, references select, insert, update, references select, insert, update, references select, insert, update, references select, insert, update, references select, insert, update, references select, insert, update, references utf8mb4_090... select, insert, update, references utf8mb4_090... select, insert, update, references select, insert, update, references select, insert,update, references select, insert, update, references select, insert, update, references select, insert,update, references select, insert, update, references select,insert, update, references select, insert, update, references select, insert,update,references select, insert, update, references select, insert,update, references select, insert, update, references select, insert,update,references select, insert, update, references select, insert, update, references select, insert, update, references Collation. utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... Extra auto_increi auto_increi auto_increi auto_increi Show titles, genre, director last name, rating for all movies with rating > average critic rating of all movies. Use a subquery in the Where clause to find the average rating within the subquery. Order by title. (SCREENSHOT) Aliens Aliens Aliens Aliens Aliens Aliens Amadeus Amadeus Amadeus Amadeus Amadeus American Beauty American Beauty American Beauty Rom... Mendes American Rasiu Rnm Monda Geme L Action Cameron Action Cameron Action Cameron Action Cameron Action Cameron Action Cameron Drama Forman Aliens Aliens Aliens Aliens Aliens Aliens Drama Forman Drama Forman Drama Forman Drama Forman Rom... Mendes Rom... Mendes Show titles, genre, director last name and rating for all movies where: (1) rating is> average rating of all movies and (2) do not display movies from director Forman or romance movies Use a subquery in the Where clause. Order by title. (SCREENSHOT) MY 8.7 8.6 9.0 8.1 7.9 8.0 7.4 7.0 8.1 9.4 9.6 9.0 8.2 9.0 05 La Cameron Action Action Cameron Action Cameron Action Cameron Action Cameron Action Mary 8.7 8.6 9.0 8.1 7.9 8.0 7.8 9.5 Cameron American Splendor Comedy Springer Berman American Splendor Comedy Springer Berman American Splendor Comedy Springer Berman 8.0 American Splendor Comedy Springer Berman 9.6 American Splendor Comedy Springer Berman 8.3. American Splendor Comedy Springer Berman 9.1 American Splendor Comedy Springer Berman 7.3 American Splendor Comedy Springer Berman 9.5 Annie Hall Annie Hall Comedy Allen Comedy Allen Annie Hall Annie Hall Avatar Comedy Allen Comedy Allen Adven... Cameron 86575 9.8 8.6 8.5 7.7 N 7.5 Name director genre movie rating reviewer Infor Tables Engine InnoDB InnoDB InnoDB InnoDB InnoDB Version 10 10 10 10 10 Columns Indexes Triggers Row Format Dynamic Dynamic Dynamic Dynamic Dynamic Rows 32 13 35 366 29 Views Stored Procedures Functions Grants Events Avg Row Length 512 1260 468 44 564 Data Length 16.0 KiB 16.0 KIB 16.0 KiB 16.0 KiB 16.0 KIB Max Data Length 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes Index Length 0.0 bytes 0.0 bytes 32.0 KIB 16.0 KIB 0.0 bytes Data Free 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes 0.0 bytes Auto Incre 1 9 Table director director director genre genre movie movie movie movie movie movie movie movie movie moviesview moviesview moviesview moviesview moviesview moviesview moviesview moviesview rating rating rating reviewer reviewer Column dir_firstName > dir_lastName O O O O id gen_title id dir_id gen_id Info Tables id mov_dt_rel mov_lang mov_rel_country mov_time mov_title mov_year Director First Name O O Director Last Name Genre ID Rating Reviewer >Title Year mov_id rev_id rev_rating id rev_name Columns Type varchar(30) varchar(30) int varchar(10) int int int int date varchar(15) varchar(5) int varchar(35) int varchar(30) varchar(30) varchar(10) int decimal(6,1) varchar(45) varchar(35) int int int decimal(6,1) int varchar(45) Indexes Triggers Views Stored Procedures Functions Grants Events Default Value 0 Nullable NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO YES Character Set utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 utf8mb4 Privileges select, insert, update, references select,insert,update, references select, insert,update, references select, insert, update, references select, insert, update, references select, insert, update, references select, insert, update, references select, insert, update, references select, insert, update, references utf8mb4_090... select, insert, update, references utf8mb4_090... select, insert, update, references select, insert, update, references select, insert,update, references select, insert, update, references select, insert, update, references select, insert,update, references select, insert, update, references select,insert, update, references select, insert, update, references select, insert,update,references select, insert, update, references select, insert,update, references select, insert, update, references select, insert,update,references select, insert, update, references select, insert, update, references select, insert, update, references Collation. utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... utf8mb4_090... Extra auto_increi auto_increi auto_increi auto_increi
Expert Answer:
Answer rating: 100% (QA)
Solution Solution You can use a subquery in the WHERE clause to find the average critic rating of all movies and then filter for movies with a rating greater than that average Heres the SQL query to a... View the full answer
Related Book For
Introduction To Statistics And Data Analysis
ISBN: 9780495118732
3rd Edition
Authors: Roxy Peck, Chris Olsen, Jay L. Devore
Posted Date:
Students also viewed these databases questions
-
The Cash Store Co. just repurchased 11.875 million shares at a price of$14. The stock was trading at a price of$16 prior to there purchase, but a market correction gave the company an opportunity to...
-
For each information request below, formulate a single SQL query to produce the required information. In each case, you should display only the columns requested. Be sure that your queries do not...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
A particle is described by the normalized wave function (x, y, z) = Axe-ax2 e -y2 e-yz2', where A, a, , and are all real, positive constants. The probability that the particle will be found in the...
-
Repeat Prob. 538 for the inner tube.
-
Munson Co. uses a job order cost system. The following data summarize the operations related to production for July: A. Materials purchased on account, $225,750. B. Materials requisitioned, $217,600,...
-
True or False: The RMS can be calculated for a nonperiodic time waveform.
-
1. What major organizational change recently took place at MRE? What department(s) was (or were) involved? Why was the change made? 2. What are the goals of the Training and Management Systems...
-
Your health facility, the Lakeland Medical Clinic was opened to serve area residents. The first two months of operation saw strong patient volume after which the numbers dropped off dramatically....
-
Assume the following data for Animal Transport Company REFERENCE REVENUE BUDGET Requirement Prepare a cash budget for April for Animal Transport. Begin the cash budget by calculating the cash...
-
Font 1. If you cook a cake at 180 degrees Celsius, what is its equivalent in Fahrenheit? 2. Convert 1400 g = Kg 3. How many 2.5 ml injections can be prepared from 2 liter of a medicine? 4. The volume...
-
You want to buy a $35,000 car today, but you don't have the cash to buy it. The dealership is offering to loan you the money at 7% interest with payments made monthly for the next five years. If you...
-
Give examples of the best legal cases in Canada that have multiple proceedings and have the highest level of court where decision was made.
-
1. Describe how attention to respondent safety is critical from an ethical point of view, and how it can affect the reliability of prevalence estimates. 1. Which is the greater threat to the...
-
A local toolmaker makes the best hammers on the market. The head of the hammer costs $ 32 . 1 1 and the handle costs $ 4 . 3 7 . It takes 1 . 4 minutes to assemble the hammer and the hourly cost is $...
-
Break down what this code means in sections. import java.io. ; import java.util. ; public class ReadFile{ public static void main(String[] args) throws NoSuchElementException { try { File myObj =...
-
Part A Identify which of the following equations are balanced. Check all that apply. 2KMnO4(s)K MnO4(s) + MnO2 (s) + O2(g) 2KClO3(s)2KCl(s) + O2(g) 6Li(s) + N(g) 2Li; N(s) Mg(s) + N(g) Mg3N2(s)...
-
When you weigh yourself on good old terra firma (solid ground), your weight is 142 lb. In an elevator your apparent weight is 121 lb. What are the direction and magnitude of the elevator's...
-
White remains the most popular car color in the United States, but its popularity appears to be slipping. According to an annual survey by DuPont (Los Angeles Times, February 22, 1994), white was the...
-
Consider the following data on height (in inches) and number of siblings for a random sample of 10 female students at a large university. 1. Construct a scatterplot of the given data. Does there...
-
The article Workaholism in Organizations: Gender Differences (Sex Roles [1999]: 333346) gave the following data on 1996 income (in Canadian dollars) for random samples of male and female MBA...
-
Coherent states are potentially an interesting basis to consider in which to express states on the Hilbert space. Are they a good basis, satisfying qualities that we desire of a basis on the Hilbert...
-
In this chapter, we had only expressed eigenstates of the harmonic oscillator Hamiltonian through repeated action of the raising operator, \(\hat{a}^{\dagger}\). This gives us a concrete algorithm...
-
A simple model for radioactive decay of an unstable nuclear isotope is as follows.3 Consider the potential illustrated in Fig. 7.9, in which there is a hard, infinite barrier at the spatial origin, a...
Study smarter with the SolutionInn App