How to alternately select m rows every n rows in oracle sql

For m=10 and n=100 add the following where clause

WHERE MOD(rownum, 100)<10

Leave a Reply