• + 0 comments

    select Case when A+B>C and A=B and B=C then 'Equilateral' when A+B>C and ( A=B or B=C or A=C ) then 'Isosceles' when A+B>C and A<>B and B<>C then 'Scalene' else 'Not A Triangle' End Result from TRIANGLES