I have a table like this
table-1 Project-name proj-status ----------- ----------- pro1 progress pro2 progress pro3 progress
If I update the proj-status as completed
Project-name proj-status ----------- ----------- pro1 progress pro2 completed pro3 progress
then it should be insert into table2
table-2 completed prject ---------------- pro2
I want to do this using trigers! please help me.
create an update trigger like this in the example below , i have an emp table when its employee is updated to ‘completed’ that employee id is copied to table emp1