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

Enhance Payments Analysis

MySQL
Improve the solution to the previous problem by replacing the staff_id column with staff, displaying the staff member full name (last name and first name separated by a space) and "Year total " in the subtotal lines.
Also put "Total" on the last line of income_year and empty string in staff column.

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.