What's the difference between ROW_NUMBER, RANK, and DENSE_RANK?
Four participants have scores of 100, 100, 90, and 80 points. Explain which numbers ROW_NUMBER, RANK, and DENSE_RANK assign when the scores are sorted in descending order. How do these functions differ, and when would you use each?
ExplainWindow functionsJuniorAnalystData EngineerBackend