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