日期:2014-05-17  浏览次数:20726 次

关于联接的问题.
在oracle8i中左联接
select   *   from   student1,student2   where   student1.tid=student2.tid(+)  
这样是表示以student1为主表吗?

select   *   from   student1   left   join   student2   on   student1.tid=student2.tid
为什么不好用呢.

------解决方案--------------------
select * from student1,student2 where student1.tid=student2.tid(+)
对应
select * from student1 right join student2 on student1.tid=student2.tid
------解决方案--------------------
显示student2全部,如果主从关系的话student2为主表
------解决方案--------------------
真的假的?
我怎么看着是左连接

另外 oracle8i不支持 left join /right join 这样的关键字
新版本已经支持了