79507474

Date: 2025-03-13 19:50:39
Score: 1
Natty:
Report link

Try looking at SEQUENCE


CREATE SEQUENCE member_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
CACHE 1;

And you can get the next id:

SELECT nextval('member_id_seq');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Андрей