New month, new goals. Your help keeps the project moving forward. 🖥️ Support sqltest →
SQL code copied to buffer
Task 14:

Daily Income by Source

MySQL
Calculate the daily income for July 2005. Write a query that returns a table with four columns: date, daily_rental_income - the sum of income from movie rentals, daily_other_income - the sum of other income, and daily_income - the sum of all income on that day.
Sort the result by date in calendar order.

Write your query below and click "Check it!". Tables are described in the right pane.

Get hint
Copy code Clear editor
The query result will appear here. Ctrl+Enter - Run query

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

Privacy & Cookie Policy.