Sunday, July 1, 2012

NOT IN

SELECT * FROM Contacts WHERE Id NOT IN (SELECT DISTINCT Id Contacts WHERE Name = 'Sid')

No comments:

Post a Comment