You are viewing a single comment's thread. Return to all comments →
DELIMITER // CREATE PROCEDURE pattern() BEGIN DECLARE count INT; set count = 20;
WHILE count > 0 DO SELECT repeat('* ', count) AS Message; SET count = count - 1; END WHILE;
END // DELIMITER ;
CALL pattern();
Seems like cookies are disabled on this browser, please enable them to open this website
Draw The Triangle 1
You are viewing a single comment's thread. Return to all comments →
DELIMITER // CREATE PROCEDURE pattern() BEGIN DECLARE count INT; set count = 20;
END // DELIMITER ;
CALL pattern();