|
select * from A where exists (
select * from (select C.A ||','||C.B||','||C.C||','||C.D||','||C.E C_TOTAL from C) CTOTAL
where
A.A like '%'||CTOTAL.C_TOTAL||'%' and
A.B like '%'||CTOTAL.C_TOTAL||'%' and
A.C like '%'||CTOTAL.C_TOTAL||'%' and
A.D like '%'||CTOTAL.C_TOTAL||'%' and
A.E like '%'||CTOTAL.C_TOTAL||'%' and
A.F like '%'||CTOTAL.C_TOTAL||'%' and
A.G like '%'||CTOTAL.C_TOTAL||'%')
怎么修改 |
|