参考资料: http://docs.oracle.com/database/122/SQLRF/ROWNUM-Pseudocolumn.htm#SQLRF00255 http://blog.csdn.net/u010395242/article/details/52047341 在采用以下所示的方式: SELECT * FROM (SELECT row_.*, rownum rownum_ FROM (SELECT * FROM table_name ORDER BY table_name.cr