MySQL的limit用法和分页查询的性能分析及优化【转】

https://segmentfault.com/a/1190000008859706

https://blog.csdn.net/LaphillZheng/article/details/68923116 

分页语句:select*from  tb_name  limit M,N;

其中:M=(页数-1)*N     N=每页返回的记录数

猜你喜欢

转载自blog.csdn.net/qq_42254088/article/details/81740831