• + 0 comments

    I wrote this but its throwing error select case When (a=b AND b=c) then "Equilateral" when (a=b AND b<>c) OR (a=c AND a<>b) OR (b=c AND a<>b) then "Isosceles" when (a<>b AND b<>c AND a<>c AND(a+b>c AND a+c>b AND b+c>a)) then "Scalene" else "Not A Triangle" end AS result from Triangles;