You are viewing a single comment's thread. Return to all comments →
select s.name from Students s left join Friends f on s.id = f.id left join packages own_sal on s.id = own_sal.id left join packages frnd_sal on f.friend_id = frnd_sal.id where own_sal.salary<frnd_sal.salary order by frnd_sal.salary
Seems like cookies are disabled on this browser, please enable them to open this website
Placements
You are viewing a single comment's thread. Return to all comments →