Está en la página 1de 1

delimiter// create function nombre_de_la_funcion(parametro tipo) returns tipo begin declare variable tipo default 0; select.... into.... from....

where.... return variable; end // select nombre_de_la_funcion(parametro);

También podría gustarte