📜  oracle sql 为每个分组分配唯一编号 - SQL 代码示例
📅  最后修改于: 2022-03-11 15:04:54.187000             🧑  作者: Mango
代码示例1
SELECT t.*, DENSE_RANK() OVER (ORDER BY department desc, country desc) AS grp
FROM mytable t