The query is as follows:
select * from my_table where rownum <= n
MINUS
select * from my_table where rownum < n
Return code before grep part 3 and the pipefail hack
-
whenever you do mycmd | grep mytext the return code of command got lost, $?
point to the return code of grep. Back in time I posted
https://laurentschneid...
4 weeks ago

1 comment:
SELECT b.*
FROM (SELECT ROWNUM rownum1, my_table1.*
FROM my_table my_table1) my_table2
WHERE my_table2.rownum1 = 10
Post a Comment