3 ms·SQL Trick: row_number() is to SELECT what dense_rank() is to SELECT DISTINCT2 points by lukaseder 12y ago