🙏 Help keep this project alive. Last month we raised only $32 - enough for servers only. Without your support, there will be no new lessons or features. Support now →
SQL code copied to buffer
RU PT FR
Task 26:

Monthly Billing Report

Create a monthly billing report for customer Dorothy Taylor for the month of August 2005. The report should include a table with the following columns:

- title - rented film names,
- rental_date, return_date, payment_date - relevant dates,
- rental_rate - film's rental rate,
- lateness_penalty - difference between rental rate and paid amount,
- amount - paid amount.

Sort the table by payment_date. Add a summary row to the report with Total in the title column, nulls in all data columns, and sums in other columns.

Use MySQL syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Get hint
Copy code Clear editor

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.