Pergunta de entrevista da empresa Payoneer

SQL WITH CTE QUESTION AND JOIN