How does Mysql write a stored procedure and insert data into two tables at the same time, with input parameters?

did not write the stored procedure of mysql, ask for guidance, thank you very much!

Dec.21,2021

self-question and answer has been done. I have checked several articles

https://www.cnblogs.com/phppe.

.

CREATE PROCEDURE proc123 (IN aaa char (100), IN bbb char (100), IN cccchar (100), IN dddchar (100), IN eeechar (100), IN fff char (100)
BEGIN
insert into abc ( aaa , bbb , ccc , dd , ee , ff , gg , yy , ss < / ss '1');
insert into edf ( aaa , bbb ) values (aaa, bbb);
END

call call proc1128 (aaa, bbb, ccc, ddd, eee, fff)

very simple logic

Menu