You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create procedure emp_salary(in p_emp_no int) #note:- stored procedures can take an input value and then use it in the query, or queries, written in the body of the procedure
begin
select e.first_name, e.last_name, avg(s.salary) # #out parameter-it will represent the variable containing the OUTPUT VALUE of the operation executed by the query of the stored procedure.