Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My Input was this :
Cons_id prof Rank
183580 JAVA 2
183584 JAVA 3
183589 JAVA 12
183552 JAVA 3
183570 JAVA 16
183574 JAVA 1
183587 JAVA 1
183580 PHP 3
183584 PHP 3
183570 PHP 17
183580 .net 6
183552 .net 1
183570 .net 64
183587 .net 4

I want to covert result in to this form'
Cons_id Profile
183580 JAVA-2,php-3,.net-6
183584 JAVA-3,php-3
183589 JAVA-12,
183552 JAVA-3,.net-1
183570 JAVA-16,php-17,.net-64
183574 JAVA-1,
183587 JAVA-1,.net-87


I want to convert in this form like my id was 183580 we found three result of this id java php and ,net i want to convert in to , seperated results for particualr rank of this id.

What I have tried:

I want to convert in this form like my id was 183580 we found three result of this id java php and ,net i want to convert in to , seperated results for particualr rank of this id.
Posted
Comments
Sergey Alexandrovich Kryukov 8-Feb-16 10:35am    
Why having a section "what I have tried" without telling us what have you tried.
We got a number "questions" with the same structure and attitude, and I wonder: is it the same person under different accounts? The common characteristics are: no effort, having not clue on what to do, something creating a lot of doubt if you should do this work at all...
Such questions are not answerable, it the answers cannot be useful to anyone. Just one advice: get to work.
—SA

1 solution

This[^] approach will give you an idea with working sample. Try it, its not that difficult
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900