You are viewing a single comment's thread. Return to all comments →
Here is Oracle solution from my HackerrankPractice repository:
WHEN A >= (B + C) OR B >= (A + C) OR C >= (A + B) THEN 'Not A Triangle'
WHEN A = B AND A = C THEN 'Equilateral'
WHEN A = B OR B = C OR A = C THEN 'Isosceles'
Feel free to ask if you have any questions :)
that's one sexy query not gonna lie