• + 1 comment

    I'm not understanding why my input is wrong ;( pls help

    select
        case 
            when a = b and b = c then 'Equilateral'
            when a = b or b = c or a = c then 'Isosceles'
            when a + b < c then 'Not A Triangle' 
            else  'Scalene'
        end as is_triangle
    from triangles t;