經安全檢測,此網站為安全網站,請放心前往原始網址!

SQL SERVER – Better Performance – LEFT JOIN or NOT IN? | Journey to SQL Authority with Pinal Dave

It looks like LEFT JOIN gives more accurate results than NOT IN function. This query returned 0 records. SELECT DISTINCT(A.CSN_ID) FROM TRG_LINKED_ENCS A WHERE A.CSN_ID not in (SELECT DISTINCT(CSN_ID) FROM TPL_TXDAYS ) This query ...

blog.sqlauthority.com

網址安全性掃描由 google 提供