610. Triangle Judgement

 

# Write your MySQL query statement below
SELECT *,(IF(x+y>z AND x+z>y AND y+z>x AND
ABS(x-y)<z AND ABS(x-z)<y AND ABS(y-z)<x,'Yes','No')) AS triangle
FROM triangle
;

posted @ 2018-12-18 03:04  yuesi  阅读(96)  评论(0编辑  收藏  举报