SQL Data Analyst — Hard
Key points
- PERCENT_RANK() returns a value between 0.0 and 1.0
- The highest-ranked row in a window has a PERCENT_RANK() of 0.0
- This function is useful for analyzing the relative position of a row in a dataset
Ready to go further?
Related questions
