Conduent interview question

Basic OOPs question. SQL related queries