Question: What are two advantages of using views? p Flag question: Question 2 Question 2 1 pts 2 . Select everything from the movies view that
What are two advantages of using views?
p
Flag question: Question
Question pts
Select everything from the movies view that we created in class.
Screen Shot at PMpng
p
Flag question: Question
Question pts
Create a new view that shows the same information as # EXCEPT it should show the average rating of each movie. Use the view from # in the FROM clause. Name the average rating column AvgRating.
Screen Shot at PMpng
p
Flag question: Question
Question pts
Using the view from # show each genre with its avgrating.
Picturepng
p
Flag question: Question
Question pts
Show all movies with a release year between and where the movie's genre has an average rating greater than Only show the movie id title, genre, and year columns
Screenshot png
p
Flag question: Question
Question pts
Show all directors who have not directed any dramas.
Picturepng
p
Flag question: Question
Question pts
Assume there is a payment history table with a column called paymenttype that indicates if a payment is regular salary, a bonus, or an award. What question does this correlated query answer? Begin your answer with "This query answers the question: who are the employees..."
SELECT employeeid firstname, lastname
FROM employees e
WHERE NOT EXISTS SELECT phlastname
FROM paymenthistory ph
WHERE phempid eemployeeid
AND phpaymenttype award
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
