Question: please check the code if you don't have oracle database don't do it and please answer the 3 questions right I need it asap in

please check the code if you don't have oracle database don't do it and please answer the 3 questions right I need it asap

in Oracle Database 10g Express Edition and hr schema

Q1. Write PL/SQL code to create a function called total_salaries that returns the total salaries of all employees who are working in X department or working as Y job title or working in Z country name . When you call the function, you have to pass your choice parameter and the department name or job title or the country name. The function will return the total salaries of employees who are working in that given department or job title or country name

Q2. Write PL/SQL code to create a procedure called Manager_info that returns the name of the manager, managed department name and how many employees under his management. When you call the procedure with a manager id, the procedure will returns the name of the manager, managed department name, total number of managed employees. Q3.Write PL/SQL code to create a package called CSC325_PACKAGE that use the function and procedure that you create them in q1 and q2 in addition to one more function and one more procedure of your choice. Show the usage of the package procedures and function. You need to use one exception( Oracle exception or user exception)

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!