Lightspeed interview question

Interview was easy, they asked to debug python code .write some sample sql queries