in sql server query where not equal same values code example Example: not equal operator sql <> Not Equal != Not Equal