等值连接又叫内链接 inner join 只返回两个表中连接字段相等的行
select * from A inner join B on A.id = B.id; #做法1
select * from A,B where A.id = B.id; #做法2
mysql表连接的知识待补充
猜你喜欢
转载自1055592535.iteye.com/blog/1674128
今日推荐
周排行