You are viewing a single comment's thread. Return to all comments →
select Name from Students s join Friends f on s.ID=f.ID join Packages p1 on s.ID=p1.ID join Packages p2 on f.Friend_ID=p2.ID where p1.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 →
select Name from Students s join Friends f on s.ID=f.ID join Packages p1 on s.ID=p1.ID join Packages p2 on f.Friend_ID=p2.ID where p1.Salary