mysql之join

在学习的时候看到的一个例子,受益良多 mysql无法全连接 所以可以使用union来实现 select * from a left join b on a.id = b.id union select * from a right join b on a.id = b.id; 注:unoin会自动去重
相关文章
相关标签/搜索