Answers for "oracle sql assign unique number to each grouping"

SQL
1

oracle sql assign unique number to each grouping

SELECT  t.*, DENSE_RANK() OVER (ORDER BY department desc, country desc) AS grp
FROM    mytable t
Posted by: Guest on October-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language