CASE Statement IF Statement ITERATE Statement LEAVE Statement LOOP Statement REPEAT Statement RETURN Statement WHILE Statement Reference MySQL :: MySQL 8.0 Reference Manual :: 13.6.5 Flow Control Statements