幫財務人員處理數據
據說EXCEL
開始寫了個SQL來查詢稅務有而ERP系統中沒有的數據
select * from tab_excel where taxcode not in
(select erpcode from tab_excel)
正常
select * from tab_excel where erpcode not in
(select taxcode from tab_excel)
返回
於是修改SQL語句如下
select * from tab_excel tout where not exists
(select
結果正常
not in (
From:http://tw.wingwit.com/Article/program/Oracle/201311/18720.html