select * from (
select cw2.NO WHOLENO,sp1.ARGUMENTNAME TYPENAME,sp2.ARGUMENTNAME BRANDNAME,sp3.ARGUMENTNAME STYLENAME,sp4.ARGUMENTNAME DEPART,so.OPERATORNAME USERNAME
from COM_WHOLE_INFO cw2,SYS_OPERATOR so, SYS_PUBLICARGUMENT sp1, SYS_PUBLICARGUMENT sp2, SYS_PUBLICARGUMENT sp3, SYS_PUBLICARGUMENT sp4
where cw2.C_CURDEPTNO='00020104' and cw2.C_TYPE=sp1.ARGUMENTID(+) and cw2.C_BRAND=sp2.ARGUMENTID(+)
and cw2.C_STYLE=sp3.ARGUMENTID(+) and cw2.C_URUSER=so.OPERATORID(+) and cw2.C_CURDEPTNO=sp4.ARGUMENTID(+)) cc
full join (select * from COM_INVENTORY ci2 where ci2.parent='6') tab1 on tab1.no=cc.WHOLENO
ORACLE带参全连接
最新推荐文章于 2023-03-17 17:26:22 发布