Question: ) Create a sequence and a trigger to fire before insert into department table to make the depno to autonumber field. Also add this comment

) Create a sequence and a trigger to fire before insert into department table to make the depno to autonumber field.

Also add this comment in the trigger body:

"Use this trigger to add department number automatically in department table."

2) Write the queries to compile and enable the trigger.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!