Tredence interview question

Extract information from table using panda and do same using sql as well