i2c interview question

mysql queries some coding problems like fabonacci series