Question: 3. Create a stored function, using the syntax of either PL/SQL or mysql, which will accept an input parameter of employee id, eid, and which

3. Create a stored function, using the syntax of either PL/SQL or mysql, which will accept an input parameter of employee id, eid, and which will output his 'monthly salary', assuming that the salary field in the employees table is an annual salary. Discuss how to get the function compiled and stored, and also give an example of how to invoke the function in SQL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
