Posted on June 6, 2020June 6, 2020 Description Submission select if(A + B > C and B + C > A and A + C > B, if(A = B and B = C, 'Equilateral', if(A = B or B = C or A = C, 'Isosceles', 'Scalene')), 'Not A Triangle') from triangles; Reference https://nifannn.github.io/2017/10/21/SQL-Notes-Hackerrank-Type-of-Triangle/https://www.w3schools.com/sql/func_mysql_if.asp By Bill0412 SQLTags: SQL IF