select * from (select my_table.*,rownum as my_rownum from(
select
a.iccid,
a.batch_id,
a.imsi_c as imsi_x,
a.state_date as create_date,
'IMSL' as imsi_x_type
from recycle_imsic a
where a.c_state='3' and a.province_id='12'
)
my_table where rownum< 5001) where my_rownum>= 1
图为执行计划 联合索引为c_state province_id 求大神告知怎么优化
5000条的数据就需要20秒。。。