啥也不说啦,看代码吧~ SELECT setval(‘data_tracking_au_sec_id_seq\', (SELECT MAX(id) FROM vHhtfBdata_tracking_au_sec)+1);