--oracle
select * from( select rownum r,t.* from (select * from testtable)t where rownum<80)where r>=50; --sqlserverselect * from ( select ROW_NUMBER() over(order by id) as rownum,*from ATTENCE)awhere rownum between 50 and 80 --mysqlSELECT * FROM test LIMIT 50,80;