Question
Display a function that computes a 3.5% raise for an employee. The employee salary will be passed as a parameter. Be sure to explicitly code
Display a function that computes a 3.5% raise for an employee. The employee salary will be passed as a parameter. Be sure to explicitly code the parameter mode. Code one exception that handles any types of error and returns NULL. Reminder: There are only 2 decimal places acceptable when displaying currency.
Table: employees.
Function name: func_exam2.
Code the SQL statement that is needed to provide the employee id, name, and the original and updated salary for all employees in the IT department (department 60). Order the result set from highest salary to lowest salary.
103 EMPLOYEE ID 222 223 104 107 5 rows returned in 0.01 seconds Alexander Chen Alain Bruce Diana FIRST NAME Downl Hunald Li Fontaine Emit Lorentz LAST NAME 9000 8000 7800 6000 4200 SALARY 9315 8280 8073 6210 4347 FUNC EXAM2(SALARY)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
o create a function that computes a 35 raise for an employee and handles exceptions in Oracle you ca...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started