Amazon interview question

Explain Date functions in sql, Fibonacci series in python,etc