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

This site uses Akismet to reduce spam. Learn how your comment data is processed.