Pregunta de entrevista de PayPal

An easy SQL query involving a self-join, without a shared screen.