sql
DELIMITER && CREATE PROCEDURE test2() BEGIN DECLARE i INT; SET i=0; WHILE i<5 DO INSERT INTO test VALUES(i,CONCAT(i+'11')); SET i=i+1; END WHILE; END; && DELIMITER ; CALL test2();