两条语句哪个效率高了??
1.
select * from (
select rownum ids, u.* from t_user u) t1
where t1.ids between 10 and 20;
2.
select * from (
select t1.* from (
select rownum ids, u.* from t_user u) t1
where t1.ids <= 20) t2
where t2.ids>=10;