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...
icon
Related questions
Question

Q2

employees/departments ERD
EMPLOYEE
COUNTRY
** COUNTRY ID
* COUNTRY NAME
EMPLOYEE ID
OFIRST NAME
Use
OCOUNTRY TRANSLATED NAME
* LAST NAME
U' EMAIL
Leg
Ter
OLOCATION
o PHONE NUMBER
O CAPITOL
Holds
HIRE DATE
AREA
OCOASTLINE
o LOWEST ELEVATION
OLOWEST ELEV NAME
O SALARY
oCOMMISSIDN PCT
Loc
IHeld by
Manage
OBONUS
HIGHEST ELEVATION
HIGHEST ELEV NAME
JOB
O DATE OF INDEPENDENCE
** JOB ID
* JOB TITLE
V
O NATIONAL HOLIDAY NAME
Manager of Assigned to
o NATIONAL HOLIDAY DATE
o MIN SALARY
Managed by
OPOPULATION
OMAX SALARY
FOFULATI
OPOPULATION GROWTH RATE
o LIFE EXPECT AT BRTH
o MEDIAN AGE
o AIRPORTS
O CLIMATE
Spe
Listed in
JOB GRADE
O GRADE LEVEL
o LOWEST SAL
O HIGHEST SAL
OFIPS ID
o INTERNET EXTENSION
OFLAG
Record of
JOD HISTORY
Isituated in
#* EMPLOYEE ID
START DATE
END DATE
Managed by
| Resporsible for
Isle of
DEPARTMENT
Record of
LOCATION
#* DEPARTMENT ID
Located at
#' LOCATION ID
DEPARTMENT NAME
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.
Query the information about your trigger from the data
dictionary, include all columns
Any help would be awesome, please and thank you.
Transcribed Image Text:employees/departments ERD EMPLOYEE COUNTRY ** COUNTRY ID * COUNTRY NAME EMPLOYEE ID OFIRST NAME Use OCOUNTRY TRANSLATED NAME * LAST NAME U' EMAIL Leg Ter OLOCATION o PHONE NUMBER O CAPITOL Holds HIRE DATE AREA OCOASTLINE o LOWEST ELEVATION OLOWEST ELEV NAME O SALARY oCOMMISSIDN PCT Loc IHeld by Manage OBONUS HIGHEST ELEVATION HIGHEST ELEV NAME JOB O DATE OF INDEPENDENCE ** JOB ID * JOB TITLE V O NATIONAL HOLIDAY NAME Manager of Assigned to o NATIONAL HOLIDAY DATE o MIN SALARY Managed by OPOPULATION OMAX SALARY FOFULATI OPOPULATION GROWTH RATE o LIFE EXPECT AT BRTH o MEDIAN AGE o AIRPORTS O CLIMATE Spe Listed in JOB GRADE O GRADE LEVEL o LOWEST SAL O HIGHEST SAL OFIPS ID o INTERNET EXTENSION OFLAG Record of JOD HISTORY Isituated in #* EMPLOYEE ID START DATE END DATE Managed by | Resporsible for Isle of DEPARTMENT Record of LOCATION #* DEPARTMENT ID Located at #' LOCATION ID DEPARTMENT NAME 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. Query the information about your trigger from the data dictionary, include all columns Any help would be awesome, please and thank you.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY