Fibonacci Spiral in SQL!

I came across a challenge on (awesome site if you’re not already on it). The challenge was to generate the Fibonacci Spiral in whatever language you use. This is fairly easy in languages such as JavaScript, Ruby and other traditional logic-based languages. But I was able to come up with a way of completing the challenge using SQL. with FIBONACCI (i, SPIRAL, PREV) as … Continue reading Fibonacci Spiral in SQL!