An useful feature to add to the SQL Seq() function
would be to restart the sequence when a field in the
table changes. This would allow to sequence groups of
SELECT seq(fieldA), field FROM table
It would be also useful to specify the initial
sequence number and the increment: seq(fielda, 5, 5).