You are viewing a single comment's thread. Return to all comments →
SELECT MAX(salary*months)AS MAX_SALARY, COUNT(employee_id) FROM Employee WHERE salary*months = (SELECT MAX(salary*months) FROM Employee);
Seems like cookies are disabled on this browser, please enable them to open this website
Top Earners
You are viewing a single comment's thread. Return to all comments →
SELECT MAX(salary*months)AS MAX_SALARY, COUNT(employee_id) FROM Employee WHERE salary*months = (SELECT MAX(salary*months) FROM Employee);