You are viewing a single comment's thread. Return to all comments →
Here is my somewhat similar Oracle solution:
select ms, (select count(employee_id) from employee where salary* months = ms) from (select max(salary* months) ms 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 →
Here is my somewhat similar Oracle solution:
select ms, (select count(employee_id) from employee where salary* months = ms) from (select max(salary* months) ms from employee);