rownum / fetch first n rows
问题 select * from Schem.Customer where cust='20' and cust_id >= '890127' and rownum between 1 and 2 order by cust, cust_id; Execution time appr 2 min 10 sec select * from Schem.Customer where cust='20' and cust_id >= '890127' order by cust, cust_id fetch first 2 rows only ; Execution time appr 00.069 ms The execution time is a huge difference but results are the same. My team is not adopting to later one. Don't ask why. So what is the difference between Rownum and fetch first 2 rows and what