Conduent Interview Question

Basic OOPs question. SQL related queries