Is there a way to make an Oracle query behave like it contains a MySQL limit clause?
Oracle
MySQL limit
In MySQL, I can do this:
MySQL
Less SELECT statements. Also, less performance consuming. Credits to: anibal@upf.br
SELECT * FROM (SELECT t.*, rownum AS rn FROM shhospede t) a WHERE a.rn >= in_first AND a.rn <= in_first;