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

Home -> Community -> Usenet -> c.d.o.misc -> Re: newbie problem with analytic function

Re: newbie problem with analytic function

From: <ravi.superiors_at_gmail.com>
Date: 2 Aug 2006 21:55:09 -0700
Message-ID: <1154580909.490267.209400@s13g2000cwa.googlegroups.com>

Mark D Powell wrote:
> In general the order by within the partition exists to order the data
> for the purpose of calculationg the partition results. In your example
> the use of the order by results in the sum displayed being the
> cumulative sum of the salary within a department. In the second
> example where no order by clause exists within the partition by clause
> the displayed sum for all rows within a department is the department
> total.
>
> You should always include the Oracle edition and version in a post
> since the response may need to vary depending on this.
>
> HTH -- Mark D Powell --

thanx mark for yours response but a little confusion it is not written anywhere in oracle
doc for analytic function that what you are syaing ,oracles doc did not mention to force
order by clause for cummulative claculation for correct result.Still its paining whats the
role of order by clause??

sorry,i am using  

Oracle9i Enterprise Edition Release 9.2.0.1.0

ravi Received on Wed Aug 02 2006 - 23:55:09 CDT

Original text of this message

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