Infosys interview question

Resume walkthrough, SQL Qns, a logical question