摘要:
select top pageSize * from goods where goodsId not in (select top pageSize*(pageNow-1) goodsId from goods); MySQL不支持top关键字,其替代方案为使用limit关键字,其使用形式为:lim 阅读全文
摘要:
1、返回N条记录数 select top n * from <表名> [查询条件] 2、返回总结果集中指定百分比记录数 select top n percent * from <表名> [查询条件] 3、分页查询语句 select top pageSize * from <表名> where [us 阅读全文