Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

stats_mode() over()

300800Apr 15 2011 — edited May 10 2012
hi!

we have just stumbled across a problem in our development when we found that STATS_MODE() does not support OVER(). i would be grateful if someone could point me to the right direction, how to retrieve the most frequent values from windows without having to resort to a subquery with count() and max().

is there any technical reason as to why there is no windowing support for stats_mode?

--
thank you very much in advance, armin.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2012
Added on Apr 15 2011
6 comments
1,441 views