Medium - Q8

mail@pastecode.io avatar
unknown
sql
2 years ago
214 B
3
Indexable
Never
select students.name from students join friends on students.id = friends.id join packages on students.id = packages.id join packages p on p.id = friends.friend_id where packages.salary < p.salary order by p.salary;