open_in_new
content_copy
SELECT setval('"table_name_id_seq"', (SELECT MAX(id) FROM table_name)+1);