Pregunta de entrevista de Revolut

What's wrong with this SQL query