You are viewing a single comment's thread. Return to all comments →
MS SQL
SELECT max(salary*months), count(*) 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 →
MS SQL
SELECT max(salary*months), count(*) from employee where (salary*months) = (SELECT max(salary*months) from employee);