select * from (select *,row_number() over(order by ID) as rowa from 表名) as tempTable where rowa between 1 and 10