Pergunta de entrevista da empresa PhonePe

What is the difference between rank and dense_rank window function?