sql语句如下:
select registration,companynew,branchnew,roadlinenew,usedate  from (select registration,companynew,branchnew,roadlinenew,usedate,row_number() over(partition by registration ORDER BY savetime desc) as xuhao from vehrecord) where xuhao =1 and usedate <= sysdate;
如下图所示,执行后cost数据较大,导致I/O也比较大,请教如何优化!