You are viewing a single comment's thread. Return to all comments →
SELECT MAX(MONTHS * SALARY) AS TOTAL, COUNT(NAME) AS COUNT FROM Employee where MONTHS * SALARY = (SELECT MAX(MONTHS * SALARY) FROM employee)
(SIMPLE WAY)
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(MONTHS * SALARY) AS TOTAL, COUNT(NAME) AS COUNT FROM Employee where MONTHS * SALARY = (SELECT MAX(MONTHS * SALARY) FROM employee)
(SIMPLE WAY)