Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

cca depreciable and straight line method

Answered: 1 week ago