You want to show the cumulative total of each year for every state.
Which quick table calculation should you use?
the rank function returns the rank of each row within the partition of a result set. The rank of a row is one plus the number of ranks that come before the row in question.
To answer your question, we need to apply the rank function to the Avg Score column and sort it in descending order. Then we can find the rank score value for Student ID 4220 by looking at the corresponding row.
Here is how the table would look like after applying the rank function and sorting:
As you can see, the rank score value for Student ID 4220 is1.
Blair
5 hours agoChantell
1 days agoRemedios
2 days agoEmily
3 days agoLewis
14 days ago