Infosys interview question

Related to testing basics and sql basics