Create a User Defined SQL Function to Calculate Fibonacci Numbers: Quick Tip
Jim Knicely, Vertica Field Chief Technologist
November 26, 2018
The Fibonacci Sequence is the series of numbers (i.e. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...) where the next number in the sequence is found by taking the sum of the previous two numbers. Calculating these numbers in SQL would be a bit complicated if it were not for the “Golden...