oracle exists 条件查询
发布时间:2020-12-12 15:47:54 所属栏目:百科 来源:网络整理
导读:select /*+index(table_a columna)*/ distinct tx_oper_idfrom table_awhere not exists(select *fromtable_bwhere b.id=a.id) 参考Oracle官方说明 https://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions012.htm EXISTS Condition An EXISTS c
select /*+index(table_a columna)*/ distinct tx_oper_id from table_a where not exists( select * from table_b where b.id=a.id ) 参考Oracle官方说明 https://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions012.htm EXISTS ConditionAn
Table 7-11 EXISTS Condition | Type of Condition | Operation | Example |
---|