Check out example codes for "postgresql alter table sequence". It will help you in understanding the concepts better.

Code Example 1

alter sequence your_sequence restart with 1000;

Learn ReactJs, React Native from akashmittal.com