My instructions tell me to round my answer to the nearest whole number. Would it be talking about the price? How would I round my answer?
Question: In the same Arts table, find the percentile rank for the same price. Pay attention to how the percentile rank is typically expressed (as a percent?). Round your answer to the nearest whole number.
SQL Select Statement:
Select PERCENT_RANK() OVER (ORDER BY Price) as PercentageRank, ArtID, price as p from Arts;
PERCENTAGERANK ARTID
A0111 090909091
A164 .181818182
A13 .272727273
A112 .363636364
A12 .454545455
A16 .545454545
A18 .636363636
A113 .727272727
A0109 .727272727
A17 909090909
A15 174.69
A0116 316.99
rows selected.