rownum和order by 以及index的关系
引http://blog.youkuaiyun.com/daimin1983/archive/2008/08/28/2843789.aspx
顺序
select rownum ,a.* from product_application_cfg a order by a.app_id;
select row_number()over(order by a.app_id),a.* from product_application_cfg a ;
而union all只是简单的将两个结果合并后就返回。