SELECT x,y,z,(case when x+y>z and x+z>y and z+y>x then 'yes' else 'no' end) triangle FROM [triangle];