用CASE...WHEN...
SELECT x, y, z, IF((x+y>z AND x+z>y AND y+z>x), 'Yes', 'No') AS triangle FROM triangle;
Last updated 4 years ago