DXC Technology interview question

Basic OOPS and DBMS concepts like Inheritance, Polymorphism and to write SQL for finding 2nd highest salary from an employee table