会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
MessageBox
What you do today can improve all your tomorrows.
Bear in mind:
S
= Single Responsibility Principle
O
= Opened Closed Principle
L
= Liskov Substitution Principle
I
= Interface Segregation Principle
D
= Dependency Inversion Principle
博客园
新随笔
管理
订阅
2012年5月3日
cross join, inner join, left/right join
摘要: cross join: 对A,B两表进行交差联接,结果集是等于 A表行数*B表行数。(一个笛卡尔积结果集)inner join: 在cross join的基础上,对其结果集进行 on 条件过滤。left/right join: 在inner join的基础上,对其结果集再添加左表(右表)在右表(左表)没有的外部行集(null值填充)。inner/left/right join 如果存在 where,则会对在on过滤之后的结果集(包括外部外)进行再次过滤。
阅读全文
posted @ 2012-05-03 09:01 Yu
阅读(180)
评论(0)
推荐(0)
编辑
公告