← All articles
SQLMaster Team

ROW_NUMBER vs RANK vs DENSE_RANK: Ties and Top N per Group

Window functions SQL interview

Try the examples in SQL Lab

Copy the setup and queries from this guide into the lab. The examples use SQLite. Lessons and lab instructions are currently in English.

Open SQL Lab