stored procedure procedure
It can be understood as a function that handles additions, deletions and changes without returning a value
Basic syntax for creating stored procedures
create procedure procedure name ([parameter list])
begin
--process body
end
If the main body of the stored procedure has only one statement, you can omit begin end
create procedure pro_1()
select * from stu1;
call stored procedure
call procedureName();
call pao_1();