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