前一段时间在写分页语句。单机的一般使用:

select * from [table] limit [length] offset [offset] 
select * from [table] where column > [pre_column_value] limit [length]
select * from [table] where key_column > [pre_key_column_value] order by key_column limit [length]