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

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

解决方案 »

  1.   

    select * from student1,student2 where student1.tid=student2.tid(+)
    对应
    select * from student1 right join student2 on student1.tid=student2.tid
      

  2.   

    显示student2全部,如果主从关系的话student2为主表
      

  3.   

    真的假的?
    我怎么看着是左连接另外 oracle8i不支持 left join /right join 这样的关键字
    新版本已经支持了
      

  4.   

    select * from student1,student2 where student1.tid=student2.tid(+)
    这样写是以student1为主表吧,把student1的内容都列出来了.感谢楼上,原来8i不支持left join呀.