请教SQL大虾, left join和一般的 join有什么区别?

所有跟帖: 

有几种join.... -撅着挺好- 给 撅着挺好 发送悄悄话 (124 bytes) () 10/17/2009 postreply 19:24:08

别人写的CODE, 没有left outer, 只有left join. -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/17/2009 postreply 19:38:36

left join是left outer join的简称,都一样的 -撅着挺好- 给 撅着挺好 发送悄悄话 (0 bytes) () 10/17/2009 postreply 19:45:20

哦, 又学了一招. -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/17/2009 postreply 19:46:31

嗯,一般改动别人的logic的时候,用left join比较保险.. -撅着挺好- 给 撅着挺好 发送悄悄话 (247 bytes) () 10/17/2009 postreply 19:51:13

他的logic都是我提供的. 我得看看他是不是真照那么做了. 嘿嘿. -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/17/2009 postreply 19:52:39

嗯,如果不确定,在production/staging.... -撅着挺好- 给 撅着挺好 发送悄悄话 (159 bytes) () 10/17/2009 postreply 19:58:54

太高深了, 这招学不会了. -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/17/2009 postreply 19:59:55

不能手把手还真说不清楚哈~~,别麻烦了,直接用query看结果吧。 -撅着挺好- 给 撅着挺好 发送悄悄话 (0 bytes) () 10/17/2009 postreply 20:06:44

那就手把手吧~~ -灰衣人- 给 灰衣人 发送悄悄话 灰衣人 的博客首页 (0 bytes) () 10/17/2009 postreply 20:10:57

哈哈~~灰凶好,我还真想~~ -撅着挺好- 给 撅着挺好 发送悄悄话 (0 bytes) () 10/17/2009 postreply 20:16:14

query怎么看呀? 给个例子吧 -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/17/2009 postreply 20:13:01

在management stadio上run阿,如果有参数就先declare一下。 -撅着挺好- 给 撅着挺好 发送悄悄话 (0 bytes) () 10/17/2009 postreply 20:15:35

啥是"management stadio"? -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/17/2009 postreply 20:24:21

我觉得你是在玩我 -撅着挺好- 给 撅着挺好 发送悄悄话 (0 bytes) () 10/18/2009 postreply 01:02:56

是想,但玩不到一起去。我们对DB的角色不一样,说的都俩码事儿。 -小谋- 给 小谋 发送悄悄话 小谋 的博客首页 (0 bytes) () 10/18/2009 postreply 06:52:27

让老撅share 你的desktop吧~~ -灰衣人- 给 灰衣人 发送悄悄话 灰衣人 的博客首页 (0 bytes) () 10/17/2009 postreply 20:16:34

嗯,request remote help,我得趁机翻翻其他的东西~~ -撅着挺好- 给 撅着挺好 发送悄悄话 (0 bytes) () 10/17/2009 postreply 20:18:00

请您先登陆,再发跟帖!