Pregunta de entrevista de Infosys

Resume walkthrough, SQL Qns, a logical question