mysql
longxiweiyi
这个作者很懒,什么都没留下…
展开
-
join中on和where的区别
table a(id, type): id type ---------------------------------- 1 1 2 1 3 2 table b(id, class): id class -------------------------翻译 2016-01-18 15:36:21 · 224 阅读 · 0 评论 -
Join操作
Join操作基本分为3大类:外连接(细分为:左连接、右连接、全连接)、自然连接、内连接 Join操作的共性:第一步均为将所有参与操作的表进行了一个笛卡儿积,然后才依据各连接条件进行记录的筛选 SQL> select * from employees; LAST_NAME DEPARTMENT_ID SALARY翻译 2016-01-18 15:24:19 · 334 阅读 · 0 评论