• + 0 comments
    select 
    case 
        when A+b > c and b+c > a and a+c>b then 
        case
        when A = b and B=c then 'Equilateral'
        when A=b or A=c or b=c then 'Isosceles'
        else 'Scalene'
        end
        else 'Not A Triangle'
    end
    from TRIANGLES