I am trying to create a sequence with maximum row count value of some table. So far I could only do this
create sequence "mysequence" start with 1;
Instead of starting with one, I need to start with max row count value of a table. How to accomplish this in HSQL