You are viewing a single comment's thread. Return to all comments →
SELECT Name FROM Students JOIN Packages AS student_packages ON Students.ID = student_packages.ID JOIN Friends ON Students.ID = Friends.ID JOIN Packages AS friend_packages ON Friends.Friend_ID = friend_packages.ID WHERE friend_packages.Salary > student_packages.Salary ORDER BY friend_packages.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 →