摘要: 1,partition by 分组后给分组数据排序 select t.*,row_number() over(partition by t."name",t."rid" order by t."rid") as "sort" from "person" t; 2、获取去重后的记录 select t2 阅读全文
posted @ 2023-07-26 14:32 李白菜 阅读(449) 评论(0) 推荐(0) 编辑