Question: Write the SQL Query to calculate the Total revenue on yearly basis for the video store from each customer using the late fee amt and
Write the SQL Query to calculate the Total revenue on yearly basis for the video store from each customer using the late fee amt and rental duration in the rental table and comapring it with the differnec of rentalcheckout and rentalcheckin in order table to evaluate if any late fee incurerdrecieved from rental fact table. Write an Roll up operator SQL Query for it
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
