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