select * from (select row_number() over() as rnum,ct.* from CT.T_City as ct) as awhere rnum>10 and rnum<=20