Guardian Life Interview Question

Encapsulation Inheritance Sql command to find second max element