12
什麼是mysql的while循環中的中斷的等價物?mysql while while循環相當於
WHILE (ctr < i)
DO ......
SET cnt = (SELECT COUNT(*) FROM temp_results WHERE result = "true");
IF cnt > 0 THEN
SELECT cnt;
BREAK;
END IF;
感謝