MySQL左连接未显示

9rygscc1  于 2023-02-03  发布在  Mysql
关注(0)|答案(1)|浏览(80)
select e.MAT from historico as e
right join alunos as a
on e.MAT = a.MAT

而我刚刚给了我第一列“历史”,我做错了什么吗?

px9o7tmv

px9o7tmv1#

试试这个:

SELECT *
FROM historico e
RIGHT JOIN alunos a ON e.MAT = a.MAT

相关问题