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!

How to use alias name in where clause

784208Jul 30 2010 — edited Jul 30 2010
Hello,

DECODE (item.inv_type,'OT', (DECODE (item.attribute2, 'STONE', 0, xfer.release_quantity1 * xfer.attribute10)
),
'FG', (xfer.release_quantity1 * xfer.attribute10)
) matl_val

In the above code matl_val is alias name i need to use that one in where clause as

where matl_val > 0

is this possible or anyother way can anyone help me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2010
Added on Jul 30 2010
5 comments
27,600 views