📌  相关文章
📜  展示位置hackerrank解决方案 - SQL代码示例

📅  最后修改于: 2022-03-11 15:05:18.079000             🧑  作者: Mango

代码示例1
SELECT s.Name FROM Students AS s JOIN Packages AS sp ON s.ID = sp.ID JOIN Friends AS f ON s.ID = f.IDJOIN Packages AS fp ON f.Friend_ID = fp.IDWHERE sp.Salary < fp.SalaryORDER BY fp.Salary;