I wonder if there is any way to generate Fibonacci numbers that beat in simplicity and efficiency this one I wrote:
WITH d (seq) AS (SELECT LEVEL
You can use a recursive sub-query factoring clause:
WITH fib ( lvl, value, next ) AS ( SELECT 1, 0, 1 FROM DUAL UNION ALL SELECT lvl + 1, next, value + next FROM fib WHERE lvl < 195 ) SELECT lvl, value FROM fib