Re: Calculating percentiles for each data record
This is a great query for percentiles. I would just add that you have to watch out for nulls in the val field, they'll make your top percentile too low -- since they'll fail the test for "<=" even for the highest value. This is not a flaw, you shouldn't have null values in such a set anyway
Subject
Written By
Posted
Re: Calculating percentiles for each data record
June 05, 2008 12:03PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.