比如,我删除了第6行,如何让7,8,9行的position-1.
update table set position = position - 1 where position > 6
使用mysql触发器trigger,删除了一行就更新