不显示删除回复显示所有回复显示星级回复显示得分回复 十分紧急的问题,紧急求助。oracle9i的left join有状况[

happyct 2009-07-24 11:51:08
问题地址:http://topic.csdn.net/u/20090724/23/1c4bdbea-9b1c-4564-91a5-324e24757ce1.html
...全文
29 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
inthirties 2009-07-25
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 hebo2005 的回复:]
SQL codeselect a.id,b.orderid,c.amount,d.salesfrom table1 a ,table2 b ,table3 c ,table4 dwhere a.id=b.id(+)and a.id=c.id(+)and a.id=d.id(+);
[/Quote]

这样的写法和left join是一致的吧
hebo2005 2009-07-25
  • 打赏
  • 举报
回复
select a.id,b.orderid,c.amount,d.sales 
from table1 a ,table2 b ,table3 c ,table4 d
where a.id=b.id(+)
and a.id=c.id(+)
and a.id=d.id(+);

3,491

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧