1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
JulijaS [17]
4 years ago
15

Create a statement trigger called "bt_maj_adv_trigger" that would be work with both advisor as well as major table. If a record

is inserted, deleted or updated in either of the table, the system will insert the user name, table name, date, and the dml command executed on the table. To insert this information, create an appropriate "log_maj_adv" table first before you create the trigger
Computers and Technology
2 answers:
denis23 [38]4 years ago
5 0

Answer:

Create or replace trigger at_advisor

after delete or insert or update on advisor

for each row

Begin

  if inserting

then

  insert into

     log_maj_adv

  values

     (

        user, :new.adv_code, sysdate, 'insert'

     )

;

elsif deleting

then

  insert into

     log_maj_adv

  values

     (

        user, :new.adv_code, sysdate, 'delete'

     )

;

else

  insert into

     log_maj_adv

  values

     (

        user, :new.adv_code, sysdate, 'update'

     )

;

end if;

End;

Explanation:

as per above answer.

Gnom [1K]4 years ago
4 0

Answers ehowhejej

Explanation:

You might be interested in
Chris accidentally steps on another student’s foot in the hallway. He apologizes, but the other student does not want to hear it
sattari [20]

Answer:

He should talk to a trusted adult and fix the problem.

Explanation:

This problem could become even worse and even more than one person could get in on the act.

7 0
3 years ago
Read 2 more answers
Want to network 2 laptops togetger using ethernet cable...But it won't connect
Leona [35]

Make sure both of the laptops are on the same internet, also- find "Network and Sharing Center" in the control panel. If you need more help or a better explanation, make sure to comment.

6 0
3 years ago
True or False, A column is a horizontal arrangement for items of information.
Norma-Jean [14]

Answer:

False

Explanation:

A column is the arrangement of information vertically.

Horizontal arrangement is called row.

7 0
3 years ago
>>> import math >>> print(math.Pi) 3.141592653589793 >>> def print_volume(): print ("What is the radi
kvasek [131]
I have no clue what this is asking...
8 0
3 years ago
Complete a flowchart and a Python program to calculate grade of a student based on marks using the following criteria:
erik [133]

Answer:

grade = int(input("Enter grade: ")

if grade > 90:

   print("A*")

elif grade > 80 and grade < 90:

   print("A")

elif grade > 70 and grade < 80:

   print("B")

elif grade > 60 and grade < 70:

   print("C")

elif grade > 40 and grade < 50:

   print("E")

else:

   print("Fail")

Explanation:

8 0
3 years ago
Other questions:
  • Mitchell is assisting her teacher in a project by entering data into the spreadsheet. Which types of data can Michelle enter in
    14·2 answers
  • The strength of the electromagnetic waves being radiated from an antenna is referred to as gain, which involves a measurement of
    9·1 answer
  • ASAP
    12·2 answers
  • What is the value of the variable result after these lines of code are executed?
    5·2 answers
  • When using Internet explore what options will empty the log of Internet sites you have recently viewed
    6·1 answer
  • [15 points] 3.2 Lesson Practice (holy marry mother of joseph)
    7·1 answer
  • 1. Write a CFG to generate identifiers (IDs) in the Java Programming Language. An ID in Java is a string of characters consistin
    5·1 answer
  • Someone asks you for help with a computer that hangs at odd times. You turn it on and work for about 15 minutes, and then the co
    10·1 answer
  • A folder has been shared with other users and set to read-only. What does this mean for users?
    12·2 answers
  • List at least five smaller behaviours you could break the complex behaviour ""brushing my teeth"" into.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!