Xoriant interview question

Python , OOPs concepts and SQL queries