Q4_e

 avatar
kuber
plain_text
2 years ago
328 B
2
Indexable
Never
select case
            when A + B > C and B + C > A and C + A > B then 
                case 
                    when A = B and B = C then 'Equilateral'
                    when A = B or B = C or C = A then 'Isosceles'
                    else 'Scalene'
                end
            else 'Not A Triangle' end
from triangles