Question: - - Question 4 : - - Find the overall average rating given by the customers. What is the average rating in each quarter? [

-- Question 4:
-- Find the overall average rating given by the customers. What is the average rating in each quarter? [5 marks]
-- Consider the following mapping for ratings:
--Very Bad: 1,Bad: 2,Okay: 3,Good: 4,Very Good: 5
-- Hint: Use subquery and assign numerical values to feedback categories using a CASE statement.
-- Then, calculate the average feedback count per quarter. Use a subquery to convert feedback
-- into numerical values and group by quarter_number to compute the average.

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 Programming Questions!