Pregunta de entrevista de Tech Mahindra

A very SQL Query was asked.