mysql进阶:存储过程中的IF语句(IF THEN ELSEIF THEN ELSE END IF)_mysql存储过程中的if语法-CSDN博客

网站介绍:drop procedure if exists p_hello_world;create procedure p_hello_world(in v_id int)begin if (v_id > 0) then select '> 0'; elseif (v_id = 0) then select '= 0'; else _mysql存储过程中的if语法