I am trying to create a table in an H2 database. How to indicate that the primary key should be generated from the generated sequence?
The sequence is called group_seq, and I created it using this statement:
CREATE SEQUENCE GROUP_SEQ;
So, when I create the table, how can I indicate that I want my primary key col (ID) to use this sequence?
sequence ddl h2
user1154644
source share