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 required in writing an sql querry

962348Nov 23 2012 — edited Nov 23 2012
Hi guys,

Could any one hlep me out in writing an sql querry for the below requirement.

the requirement is: for a perticular ID if we have different names then we need to get it out as multiple else the name itselef. I have given the sample input and the expected output.

ID Name
1 A
1 B
2 F
2 F
3 C
4 D
4 E

Out put should look like
ID Name
1 Multiple
2 F
3 C
4 Multiple


Thanks in advance
Shylender.

Edited by: 959345 on Nov 22, 2012 10:13 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2012
Added on Nov 23 2012
3 comments
93 views