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

Quarterly earnings analysis

MySQL
Write a query to calculate the revenue of each store for each quarter of 2005.
The result should consist of the following fields: store_id and I, II , III, IV - amounts of income for each quarter, respectively
To define store_id value, use a join to the staff table
Expected result Columns: 5 · Rows: 2
store_id I II III IV

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

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.