1
I am trying to use logical operators with CASE/WHEN in SQL but I am having difficulties, I need to present an answer if the result of the operation is less than 0 and another result for when the operation is >= 0
It’s wrong if I put a logical operator there:
CASE (A + B + C)
**WHEN >= 0** THEN 'RESPOSTA'
ELSE 'SEM RESPOSTA'
END AS RESULTADO
Thanks guy I managed to finish my Query
– Pedro Alencar