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

Monthly and Cumulative Payments

MySQL
Write a request to calculate the amount of payments for each month of 2005 and the cumulative amount from the beginning of the year.
The query should return three columns: payment_month – month of payment (in “YYYY-MM” format), monthly_amount – total amount of payments for month and yearly_amount – amount since the beginning of the year

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

Tutorial
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.