OYO interview question

The question was mostly technical in nature. It was based on SQL and Python.