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