Create a trigger to compute the value of the duration column when a tuple is inserted in ContractInfo .
ContractInfo Table
HAS_CONTRACT DATE_FROM DATE_TO DURATION
--------------------- --------- --------- ----------
Simon Palm 20-AUG-01 19-AUG-02 0
Simon Palm 20-SEP-02 19-AUG-03 0
Flut 10-JUN-99 09-SEP-02 0
How can I make a trigger? I am a bit confused with the trigger.
1 Answer