sql 组内排序

select top(100) row_number() over (partition by identitycard order by creationtime desc),*
from CheckResultDetails

order by identitycard

posted @   紫心落  阅读(290)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示