i'm trying to execute a query on a table in H2 database with ROW_NUMBER clause. Here is my query:
SELECT ROW_NUMBER() OVER (order by data), name FROM students
But i get an error in H2 console:
Syntax error in SQL statement "SELECT ROW_NUMBER() OVER (order[*] by data), name FROM students"; expected ")";
I noticed that it only works if OVER clause is empty like OVER();
Any ideas?