Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Re[4]: HI
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Lex de Haan
> Sent: Monday, September 20, 2004 1:54 PM
> To: jonathan_at_gennick.com
> Cc: oracle-l_at_freelists.org
> Subject: RE: Re[4]: HI
>=20 >=20
>=20
O.K., I'll bite.
I have always been under the opinion that
SELECT col1, col2, col3, aggregate function() from foo group by col1, col2, col3
was equivalent to (gave the same results as)
SELECT distinct col1, col2, col3, same_thing_but_the_analytic =
function_version()=20
over (partition by col1, col2, col3)
However, I have never used the latter syntax (except if I really needed
the analytic function) because (1) nobody else around would understand =
it, and
(2) I was never that comfortable with it myself. So, I really don't =
know how far
off the truth I am.
But I do know that if Lex and Johnathan were to expand this into a full length article I would finally feel really comfortable using them. =20
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Sep 20 2004 - 13:34:01 CDT
![]() |
![]() |