GitHub网址

摘要: 现有两张表 tablea 和 tableb 各种连接 1、笛尔卡积 SELECT * FROM TabA a,TabB b where a.id = b.id /*笛尔卡积乘积*/ 返回的结果为两表中所有满足a.id=b.id的记录。b表中id 为1的有两条记录,a表中有一条,返回的结果中可以看出, 阅读全文
posted @ 2018-05-04 14:58 快乐的二逼青年 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 1.select a.name,a.sex,a.subject,a.age from TableA a, TableB b where a.name = b.name 2.select a.name,a.sex,a.subject,a.age from TableA a inner join Tab 阅读全文
posted @ 2018-05-04 09:30 快乐的二逼青年 阅读(655) 评论(0) 推荐(0) 编辑