How to update two table while insert value into new table? For eg: I have table named table0,table1 and table2. And I have datas in table0. While inserting table1 how to update as the inserted value to be deleted from table0 and the value to be inserted in table2.?