how to display the records based on required sequence postgresql code example Example: create sequence postgres CREATE SEQUENCE mysequence INCREMENT 5 START 100;