Consider the database below and answer the query. PK refers to primary key and FK refers to
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider the database below and answer the query. PK refers to primary key and FK refers to foreign key.
Employee(Employee_id(PK), First_name, Last_name, Email, Phone_number, Hire_Date, Job_ID(FK), Commission_pct, manager_id, department_id(FK))
Departments(Department_id(PK), dept_name, manager_id(FK), location_id)
Locations(Location_id(PK), street_address, postal_code, city, state_province, country_id)
Jobs(Job_id(PK),job_title, min_salary, max_salary)
PL/SQL script to create a function that receives employee ID and commission_pct as arguments and returns the total of salary and commission_pct for that employee, if the commission is more than 0.
Related Book For
Experiencing MIS
ISBN: 978-0133153934
3rd Canadian Edition
Authors: David M. Kroenke, Andrew Gemino, Peter Tingling
Posted Date: