标签:语句 records mys span jsp mit ble 常用 oracl
所需要的数据:
1.总记录数: totalRecords
select count(*) from table
2.总页数: totalPage
3.当前页数: currentPage = 1
4.每页多少条记录: pageSize :10条
5.每页数据 start = (currentPage-1)*pageSize
其中常用的分页sql语句,oracle和mysql不一样
mysql: select * from student limit start,pageSize
oracle: sqsqsqsqsqs
标签:语句 records mys span jsp mit ble 常用 oracl
原文地址:https://www.cnblogs.com/mlck/p/14188021.html