Problem statement:
Write a query identifying the type of each record in the TRIANGLES table using its three side lengths. Output one of the followin
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;