Pergunta de entrevista da empresa GoCardless

Basic sql questions like CTE and window function