79613147

Date: 2025-05-08 20:53:16
Score: 1
Natty:
Report link

here is the most accurate way to find the maximum average salary:

select max ( avg(salary)) 
from workers
group by worker_id;

You can apply a group function to a group function retreiving a column of data values, ie max to avg(salary).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Umer Farooq Bajwa