DELIMITER// CREATE PROCEDURE add( IN a INT, IN b INT ) BEGIN DECLARE sol INT; SET sol = num1 + num2; SELECT sol AS Sum; END // DELIMITER ; CALL add(10, 20);
To embed this project on your website, copy the following code and paste it into your website's HTML: