Pregunta de entrevista de Amdocs

SQL from distinct with different cases of letters.