获取表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
猜你喜欢
  • 2021-10-13
  • 2021-10-12
  • 2021-09-17
  • 2022-02-24
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案