It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
9. Simple recursive CTE
Summary

Instruction

Ok. Let's move on to recursion and start with something simple.

Exercise

Fibonacci numbers are numbers that follow the pattern given below:

F(n)=F(n-2)+F(n-1)

Each Fibonacci number is the sum of two previous Fibonacci numbers. The first two Fibonacci numbers are 0 and 1.

Print a single column that will show the Fibonacci numbers. Show all Fibonacci numbers smaller than 100. Name the column fib.