0

Tengo el siguiente código
-- Start of our procedure
delimiter //
CREATE procedure getData(in monthBegin int, in monthEnd int)
wholeblock:BEGIN
DECLARE sumaTotal INT;
DECLARE x INT;
SET sumaTotal = 0;
SET x = monthBegin;
loop_label: LOOP
IF x > monthEnd THEN
LEAVE loop_labe...