Skip to main content
1 of 3
gbn
  • 70.1k
  • 8
  • 165
  • 242

Following on from Andrew Bickerton's answer...

The 4th way is to use EXCEPT where the RDBMS supports it
This should give the same execution plan as NOT EXISTS

SELECT id, ad
FROM kimlik
EXCEPT
SELECT id, 'dummy'
FROM siparis
gbn
  • 70.1k
  • 8
  • 165
  • 242