sql語句exists用法 NOT EXISTS怎么用?
NOT EXISTS怎么用?select*fromproductwherenotexists(selectproductCodefromsomainwherestatus!="已了結")notexis
NOT EXISTS怎么用?
select*fromproductwherenotexists(selectproductCodefromsomainwherestatus!="已了結")notexists:當(selectproductCodefromsomainwherestatus!="已了結")查詢不出任何結果的時候前面的select語句才能繼續(xù)執(zhí)行查詢notin:查詢出不存在在(selectproductCodefromsomainwherestatus!="已了結")的資料