要求每次用到这个序列的时候都从1开始 postgresql 为例子 使用之前每次都给他初始化为1 sql语句 alter sequence user_seq restart with 1 user_seq 序列名称 1 为初始值