OSI Digital Interview Question

some sql queries and fibonacci series code