怎么样:
select * from TABLE_A where (COL,COL2,..) not in (select COL1,COL2,.. from TABLE_B)
union all
select * from TABLE_B where (COL1,COL2,..) not in (select COL1,COL2,.. from TABLE_A);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4145 次 |
| 最近记录: |