🙏 We need your help! SQLtest.online has no ads and lives only on donations. Even a small amount helps. Donate now →
SQL code copied to buffer
Task 46:

Staff Performance Analysis

MySQL
Calculate the average number of operations (issuing and receiving disks) performed by each employee during a working day in May 2005. 
Display the result as a table with columns:
- staff_id: The unique identifier for each staff member
- first_name: The first name of the staff member
- last_name: The last name of the staff member
- average_operation_count: The average number of operations performed by the employee

Sort result by staff_id.
Expected result Columns: 4 · Rows: 2
staff_id first_name last_name average_operation_count

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

Tutorial

By checking a query, you agree that it is stored without your account details and may be included in anonymized datasets, including for AI training. Learn more

The query result will appear here. Ctrl+Enter - Run query