Files
courses/py3interm/SETUP/mk_storedproc_mysql.sql
T
2025-05-20 11:57:43 -04:00

11 lines
181 B
SQL

use presidents;
DELIMITER //
CREATE PROCEDURE pres_full_name
(IN term_num int)
BEGIN
select concat(fname, ' ', lname)
from presidents
where num = term_num;
END //
DELIMITER ;