select top 1000 
        * 
from    费用表 
where   费用ID<any ( select top 10 
                            ( 费用id ) 
                   from     费用表 
                   order by 费用ID asc  
)  
  
  
  
select top 1000 
        * 
from    费用表 
where   费用ID>all ( select top 10 
                            ( 费用id ) 
                   from     费用表 
                   order by 费用ID asc  
)  
  
  
  
  
  
select top 1000 
        * 
from    费用表 
where   费用ID<some ( select top 10 
                            ( 费用id ) 
                    from    费用表 
                    order by 费用ID asc )  
  

相关文章:

  • 2022-12-23
  • 2021-09-28
  • 2021-07-16
  • 2021-06-11
  • 2022-12-23
  • 2021-10-10
  • 2021-07-25
猜你喜欢
  • 2022-01-01
  • 2021-12-25
  • 2022-12-23
  • 2021-09-27
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案