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!

multiple values into single column

User_ISH63Oct 1 2013 — edited Oct 1 2013

Hi ,

Im having the query like as below

with t as ( select 'Approved' as "Code" from dual union all

select 'Historically Relevant' from dual union all

select 'In Progress' from dual union all

select 'Internal Review' from dual )

select "Code"  from t  where "Code" in ('Approved,Historically Relevent')

in this i need the output like below . ie, what are the things i have selected in where clause based on that the output need to come

'Approved,Historically Relevent'

Thanks in Advance ...

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2013
Added on Oct 1 2013
5 comments
1,417 views