Intech Systems interview question

SQL queries and Oops Concepts