源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

SQL查找某一条记录的方法

  • 时间:2021-06-26 05:51 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:SQL查找某一条记录的方法
SQL查找第n条记录的方法: select top 1 * from table where id not in (select top n-1 id from table) temptable0 SQL查找第n条开始的m条记录的方法: select top m * from table where id not in (select top n-1 id from table) temptable0) (注:表中必须有一个唯一值字段才可适用此方法。) 
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部