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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!