In SQL, there are two ways to test for inequality in a query. You can use either the <> or !=
9.5m questions
12.2m answers