Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Berkeley DB Family
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Apr 24, 2012 5:40 AM by
How to retrive the result by query
Apr 24, 2012 5:40 AM
i have a table having following coulmn
EMP_CODE EMP_FLAG EMP_CAT EMP_CAT2
111 1 125 123
112 2 124 111
113 2 154 154
Here the emp_flag have only 2 values 1 or 2 if the emp_flag contains 1 then the result should be value of emp_cat field else if the emp_flad have value 2 then the value should come from emp_cat2 field
so please suggest the query for this....
Edited by: user9950484 on Apr 24, 2012 3:38 AM
This content has been marked as final.
Show 0 replies