首页 > 数据库技术 > 详细

mysql连接

时间:2018-11-05 11:05:24      阅读:163      评论:0      收藏:0      [点我收藏+]
inner join
from table_a a inner join table_b b on a.xxx = b.xxx
left join
左连接会读取左表中的数据,即使右边中没有数据
from table_a a left join table_b b on a.xxx = b.xxx
right join
右连接会读取右表中的数据,即使左表中没有数据
from table_a a right join table_b b on a.xxx = b.xxx

mysql连接

原文:http://blog.51cto.com/huwho/2312826

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!