李家佳(李家佳) 12:18:37
select * from
(
select username,SectionID,ExpertPoint, rank() over(partition by username order by ExpertPoint desc)
 tt from [UserSectionProfiles] where UserName in
('ghj1976','daisy8675')

) xx where xx.tt between 2 and 3

否则要写一个很麻烦的子查询。先记下,回头再补充全

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2021-04-21
  • 2021-12-30
  • 2021-07-20
猜你喜欢
  • 2021-08-22
  • 2022-02-12
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案