我正在尝试排除确实符合某些条件的记录。我正在尝试使用WHERE NOT Exists语法。
但是不起作用。
select b.*
from Staging.Siebel.UCM."S_CONTACT" b
where not exists (select *
from Staging.Siebel.UCM.“CX_CDI_MERGE” c
where b.cid_num = c.X_NEW_CDI_ID
);
答案 0 :(得分:1)
在SQL中,您应该可以使用{{1}}。