sql not in not equal all code example Example 1: not equal operator sql <> Not Equal != Not Equal Example 2: not equal in sql row <> value