Pergunta de entrevista da empresa EXL Service

SQL: lag/lead based queries + window functions