Pergunta de entrevista da empresa ZS Associates

difference between rank and dense rank. find 4th largest salary using window functions.