Hi all
what is the difference between the rownum and row_number() function
Regards
Michael
what is the difference between the rownum and row_number() function
Regards
Michael
SELECT deptno, ename, empno, ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY empno) AS emp_id FROM emp
Comment