You are viewing a single comment's thread. Return to all comments →
with totale as( select employee_id, (salary*months) as total_earning from employee ) select max(total_earning), count(employee_id) from totale where total_earning =( SELECT MAX(total_earning) FROM totale );
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 →