create Trigger table_InsertTrigger on 表 for insert as if exists(select * from inserted ) begin update 表 set c=a+b from 表 t where exists(select * from inserted i where i.a=t.a) end