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!

Help with Creating Nested Functions

Matt_SOct 13 2015 — edited Oct 13 2015

I need to rewrite a report in Oracle SQL that was originally created in Access.  I am having trouble is structuring the report because there will be fields created from 4 formulas strung together.  Each uses the results of the previous formula as an input.  The formulas will be calculated using Case statements.  I'm thinking of attempting this by utilizing sub queries because I cannot refer to an aliased case statement in another case statement in the same query.  Does anyone have advise on the easiest way to do this?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2015
Added on Oct 13 2015
2 comments
1,072 views