Skip to content

610. Triangle Judgement

1
2
3
4
SELECT
  *,
  IF(x + y > z AND x + z > y AND y + z > x, 'Yes', 'No') AS triangle
FROM Triangle;