SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Data Operations and Support

Ranking, top-N per group and deduplication

2 min read · 394 wordsDEA-C01Updated

In one line: Compares ROW_NUMBER, RANK and DENSE_RANK on ties, filters ranks in a subquery or QUALIFY, and keeps the latest row per key.

You’ve read your 2 free DEA-C01 lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 4 of 11Next