Anonymous interview question

Python codes and sql ques based on queriews