Zuora Interview Question

Classic Fizz Buzz in both code logic and SQL logic