📜  使用外键从 2 个表中选择列 - SQL 代码示例

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

代码示例2
SELECT user.name, movie.name
FROM user
JOIN list  ON list.user_id  = user.id
JOIN movie ON list.movie_id = movie.id
ORDER BY 1,2;