such SQL like
SELECT empno, deptno,
COUNT(*) OVER (PARTITION BY deptno) DEPT_COUNT FROM emp WHERE deptno IN (20, 30);
is very useful.
I just wonder if in H2, how do we implement the similiar function? Maybe creating a java procedure will work. But will this function be inside the roadmap of H2 database?