You are viewing a single comment's thread. Return to all comments →
I have exactly this and it still says it's wrong.
Select CASE when A + B <= C OR A + C <= B OR B + C <= A
then 'Not a Triangle'
when A = B AND B = C
when A = B OR A = C OR B = C
Edit: Found out it was because the 'a' in 'Not a Triangle' wasn't capitalized. That's more nit-picky than the sql language itself!
I was facing same issue, this helped. Thanks for a good catch.