Pregunta de entrevista de BIT Capital

Window functions in both sql and python