SQL Data Analyst — Hard
Key points
- The first row in a partition has a PERCENT_RANK() of 0.0
- PERCENT_RANK() is based on the order of rows in a partition
- The function calculates the percentage of rows that are less than or equal to the current row
Ready to go further?
Related questions
