摘要: 一、内连接 关键字:inner join on 语句:select * from a_table a inner join b_table bon a.a_id = b.b_id; 组合两个表中的记录,返回关联字段相符的记录,也就是返回两个表的交集(阴影)部分。 二、左连接(左外连接) 关键字:le 阅读全文
posted @ 2018-12-13 11:44 contre666 阅读(283) 评论(0) 推荐(0) 编辑