Created
July 20, 2016 01:17
-
-
Save ramannanda9/732ab0ec953ca36d3d03122ac9780bcd to your computer and use it in GitHub Desktop.
analytic function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select empno, deptno, row_number() over (partition by deptno order by 1) sequence_num from scott.emp; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment