How do I select only the different ratings of "X" in a given column?
I created the select below:
SELECT top 1000*
FROM [tabela_clientes] WITH (NOLOCK)
WHERE STATUS= 'pendente' and status_2= 'pagamento'
and REGIAO= 'sao paulo' -----------> aqui seria apenas diferente de sao paulo.
In the REGIAO
column, I want to return only those clients that are NOT from Sao Paulo.
Can you help me please?