Infosys interview question

Programming in python and sql queries