标签:
1,创建删除触发器
create trigger order_Delete after delete on orderTable for each row begin update orderTable set id=id-1 where id>old.id; end ;
sqlite
原文地址:http://www.cnblogs.com/lvchenhao/p/4312093.html