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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Analytics or not

Re: Analytics or not

From: Christo Kutrovsky <kutrovsky.oracle_at_gmail.com>
Date: Fri, 8 Apr 2005 16:21:32 -0400
Message-ID: <52a152eb05040813215e188dd@mail.gmail.com>


I didn't see Mike's answer, can you or Mike forward it ? I am curious to see his solution.

On Apr 8, 2005 3:59 PM, Martic Zoran <zoran_martic_at_yahoo.com> wrote:
> Thanks a lot to Mike and Christo,
>
> This solved it.
>
> Wanted to see the solution and different ideas, but it
> looks no other way then this.
>
> Regards,
> Zoran
>
> --- Christo Kutrovsky <kutrovsky.oracle_at_gmail.com>
> wrote:
> > select ttt.*
> > from (
> > select tt.*, max(cnt_t) over (partition by part)
> > as mx_p
> > from (
> > select t.*, count(*) over (order by num) as
> > cnt_t from sample t
> > order by num
> > ) tt
> > ) ttt
> > where mx_p <= 10;
>
> __________________________________
> Yahoo! Messenger
> Show us what our next emoticon should look like. Join the fun.
> http://www.advision.webevents.yahoo.com/emoticontest
> --
> http://www.freelists.org/webpage/oracle-l
>

-- 
Christo Kutrovsky
Database/System Administrator
The Pythian Group
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 08 2005 - 16:25:26 CDT

Original text of this message

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