Home » SQL & PL/SQL » SQL & PL/SQL » SQL to Concat colmn values of Diff records
SQL to Concat colmn values of Diff records [message #19654] Tue, 02 April 2002 22:40 Go to next message
Suresh
Messages: 189
Registered: December 1998
Senior Member
I have data like this

city------street

hyd------st1
hyd------st2
hyd------st3
Bglore---st1
Bglore---st2
Bglore---st3

i would like to retrive the data as following..

hyd------ st1,st2,st3
Bglore---- st1,st2,st3

How can we do this.
regards,
Suresh Babu
Re: SQL to Concat colmn values of Diff records [message #19659 is a reply to message #19654] Wed, 03 April 2002 01:16 Go to previous messageGo to next message
hanu
Messages: 21
Registered: March 2002
Junior Member
What is the purpose of your requirement?
Re: SQL to Concat colmn values of Diff records [message #19661 is a reply to message #19659] Wed, 03 April 2002 01:37 Go to previous messageGo to next message
Suresh
Messages: 189
Registered: December 1998
Senior Member
I have requirement as follows

Use Join on ResumeMaster, SkillMaster ,ResumeSkill
i get the follwing..

ResumeId-------skillName
1-------C
1-------C++
2-------Java
3-------C
3-------C++
3-------VC++

Since i have to show my records in the UI as follows
ResumeId--- Skill1,Skill2,Skill3..
i am doing this in the programme rather i would like to do this on the oracle side itself so that i can get less no of records which would lead to a better performance..
and mind you i donot need the skillId.

thank u
Re: SQL to Concat colmn values of Diff records [message #21044 is a reply to message #19654] Tue, 09 July 2002 04:49 Go to previous message
Thomas Goerner
Messages: 1
Registered: July 2002
Junior Member
Hey Suresh,
I have the same problem.
Do you solve it? If yes,would you please give me the solution?

Thanks,
Thomas.
Previous Topic: Collection of colletion in pre-9.2 DB
Next Topic: Help with PL/SQL
Goto Forum:
  


Current Time: Wed Apr 24 12:55:46 CDT 2024