-- 使用 dense_rank 函数,正合适你这个需求; select dense_rank() over(partition by 用户 order by 用户) 去重序号, t.* from t
17,086
社区成员
55,238
社区内容
加载中
试试用AI创作助手写篇文章吧