Mysql 多表查询
摘要:
内连接: 两张表共有的部分(内连接),取交集 select * from student t1 inner join st t2 on t1.s_id=t2.s_id 左连接: A独有的部分加上和A和B公共 的部分。也叫左外连接。 select * from student t1 left join 阅读全文
posted @ 2021-12-31 17:19 每天积极向上 阅读(55) 评论(0) 推荐(0) 编辑