获取表Law_Log中PeopleName字段的最新纪录WITH tablelist AS (SELECT ROW_NUMBER() OVER (ORDER BY Tmp.LawID DESC) AS Row, * from Law_Log as Tmp where PeopleName = 'GSEGC\sumeihua')select top 1 * from tablelist order by DoTime Desc 相关文章: 2021-12-13 2022-12-23 2021-10-10 2021-10-26 2022-12-23 2022-01-21 2022-12-23