左连接、右连接和全连接在oracle9i中写法和sql server基本一样

解决方案 »

  1.   

    a.id=b.id(+)   ====> a left join b on a.id=b.id
    a.id(+)=b.id   ====> a right join b on a.id=b.id
      

  2.   

    是一样的,因为都是SQL语言来得。
      

  3.   

    左联用:A(+)=B
    右联用:A=B(+)
    e.g.
    SQL>select a.euid,a.name,b.price
       >where  a.euid=b.euid(+);
      

  4.   

    例子纠正一下:
    SQL>select a.euid,a.name,b.price
       >from  objs a,objprice b
       >where a.euid=b.euid(+);
      

  5.   

    MS SQL SERVER中的左联右联语法又不大一样。
      

  6.   

    b.id=a.id(+)
    b为主表,a为可选连接