OCAPITOL OCOASTLINE employees/departments ERD EMPLOYEE COUNTRY ** COUNTRY ID *COUNTRY NAME EMPLOYEE ID OFIRST NAE LAST NAME U EMAIL Use OCOUNTRY TRANSLATED NAME Leg Ter OLOCATION Holds OPHONE NUMBER *HIRE DATE AREA O SALARY COMMISSION PCT OLOWEST ELEVATION Loc IHeld by Manage OLOWEST ELEV NAME O HIGHEST ELEVATION GUEST ELEV NAME OBONUS JOB o HIGHEGT DATE OF o DATE OF INDEPENDENCE o NATIONAL HOLIDAY NAME o NATIONAL HOLIDAY DATE ** JOB ID * JOB TITLE Manager of Assigned toY Managed by o MIN SALARY OPOPULATION OMAX SALARY POPULATION GROWTH RATE o LIFE EXPECT AT BIRTH Spe Listed in I o MEDIAN AGE O AIRPORTS O CLIMATE JOB GRADE OGRADE LEVEL oFIPS ID o LOWEST SAL O HIGHEST SAL o INTERNET EXTENSION OFLAG Record of JOD HISTORY Isituated in EMPLOYEE ID START DATE *END DATE Managed by Resporsible for Isite of DEPARTMENT LOCATION Record of ** DEPARTMENT ID * DEPARTMENT NAME LOCATION ID Located at OSTREET ADDRESS OPOSTAL CODE * CITY Listed in Location of OSTATE PROVINCE Create a trigger for the EMPLOYEES table that will set the commission amount to .4 whenever the department_id is 80. Test your trigger COMPLETELY for every event it is defined. (Sometimes, UPDATE statements must have UPDATE tablename on a separate line by itself to keep APEX from hanging). This should work both for new rows and existing rows that are updated.
OCAPITOL OCOASTLINE employees/departments ERD EMPLOYEE COUNTRY ** COUNTRY ID *COUNTRY NAME EMPLOYEE ID OFIRST NAE LAST NAME U EMAIL Use OCOUNTRY TRANSLATED NAME Leg Ter OLOCATION Holds OPHONE NUMBER *HIRE DATE AREA O SALARY COMMISSION PCT OLOWEST ELEVATION Loc IHeld by Manage OLOWEST ELEV NAME O HIGHEST ELEVATION GUEST ELEV NAME OBONUS JOB o HIGHEGT DATE OF o DATE OF INDEPENDENCE o NATIONAL HOLIDAY NAME o NATIONAL HOLIDAY DATE ** JOB ID * JOB TITLE Manager of Assigned toY Managed by o MIN SALARY OPOPULATION OMAX SALARY POPULATION GROWTH RATE o LIFE EXPECT AT BIRTH Spe Listed in I o MEDIAN AGE O AIRPORTS O CLIMATE JOB GRADE OGRADE LEVEL oFIPS ID o LOWEST SAL O HIGHEST SAL o INTERNET EXTENSION OFLAG Record of JOD HISTORY Isituated in EMPLOYEE ID START DATE *END DATE Managed by Resporsible for Isite of DEPARTMENT LOCATION Record of ** DEPARTMENT ID * DEPARTMENT NAME LOCATION ID Located at OSTREET ADDRESS OPOSTAL CODE * CITY Listed in Location of OSTATE PROVINCE Create a trigger for the EMPLOYEES table that will set the commission amount to .4 whenever the department_id is 80. Test your trigger COMPLETELY for every event it is defined. (Sometimes, UPDATE statements must have UPDATE tablename on a separate line by itself to keep APEX from hanging). This should work both for new rows and existing rows that are updated.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Q2
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY