zoukankan      html  css  js  c++  java
  • all,any,some

    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 )  
      
  • 相关阅读:
    bzoj2161 布娃娃
    bzoj2161 布娃娃
    Tyvj1054
    Tyvj1054
    Tyvj1053
    Tyvj1053
    hdu3265 Poster(扫描线)
    hdu3265 Poster(扫描线)
    hdu3265(好题翻译)
    hdu3265(好题翻译)
  • 原文地址:https://www.cnblogs.com/qanholas/p/1874253.html
Copyright © 2011-2022 走看看