Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oracle and quantile

Re: oracle and quantile

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 28 Oct 2003 16:20:09 -0000
Message-ID: <bnm53l$s15$1$8300dec7@news.demon.co.uk>

I think you need to look at the ntile() analytic function. Some documentation in the SQL reference guide, more in the Data Warehousing reference guide.

--
Regards

Jonathan Lewis
http://www.jlcomp.demon.co.uk

  The educated person is not the person
  who can answer the questions, but the
  person who can question the answers -- T. Schick Jr


One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html
____Belgium__November (EOUG event - "Troubleshooting")
____UK_______December (UKOUG conference - "CBO")


Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____UK___November


The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html


"Grzegorz" <gb_at_gazeta.pl> wrote in message
news:16de1593.0310270124.659d0a0e_at_posting.google.com...

> Hello.
>
> Is there a method to get quantile from query?
> For example:
>
> select quantile( f1, 50), quantile( f2, 90) from t
> where k1 = 'f..k!!!'
> ?
>
> Thanks in advance,
> Grzegorz
Received on Tue Oct 28 2003 - 10:20:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US