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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38690-2c0f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38690-2c0f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?