select * frommytable order byIDasc limit 0,1读取最后一行
select * from mytable order by ID desclimit 0,1
读取前100行
select * from mytable order byIDasc limit 0,100