随笔分类 -  数据库

摘要:``` select * from (select t.*, row_number() over(partition by t.khuserid order by t.CREATETIME desc) rn from tables) t) c where rn = 1 ``` 阅读全文
posted @ 2023-09-26 17:58 羽~悠悠 阅读(404) 评论(0) 推荐(0)

返回顶端