drop procedure if exists p_hello_world; create procedure p_hello_world() begin declare id integer; ); ) default ''; /* don't work */ /*declare cur_user cursor for select id from p_user where id is not null and name is not null order by id;*/ declare…