Quintiles

J

Jeremy

I am trying to split my data set into five equal parts. I
have tried sup-queries, but data of equal value tend to
screw things up. I have tried TOP N and TOP N PERCENT,
but it isn't working right. For example, if I
code "SELECT TOP 24000", Access pulls 24,302. Same thing
with %. Any help would be appreciated. Thanks.

data:

ID Date
------- -------
1576 07/24/2003
5798 07/23/2003
9876 07/23/2003
3216 07/22/2003
9876 07/20/2003

I looking for this result:

ID Date Percentile
---------- ---------- ----------
1576 07/24/2003 20%
5798 07/23/2003 20%
9876 07/23/2003 20%
3216 07/22/2003 20%
9876 07/20/2003 20%
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top