title: how to get current value of sequence in hsqldb
body: <p>How do I get the current value of a sequence in the HSQLDB?</p>
  <p>I know I can get the &quot;next value&quot; with &quot;call next value&quot; but I want to get the &quot;last given out value&quot; basically, similar to postgres' <code>last_value</code> <a href="https://dba.stackexchange.com/a/78228/16892">https://dba.stackexchange.com/a/78228/16892</a></p>