combine the same id in mysql so one colomn and display it in gridview asp.net
example
id provinsi_id kab_id sektor_id
1 2 31 1
2 2 31 2
3 2 31 3
and I want the results like this.
id provinsi_id kab_id sektor_id sektor_id sektor_id
1 2 31 1 2 3
Combine the same id in mysql so one colomn
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Saineshwar BageriRank #115 · 19.6K reputationPosted Mar 22, 2015, 8:35 PM EDT
http://sqlhints.com/2014/03/10/pivot-and-unpivot-in-sql-server/
Saineshwar BageriRank #115 · 19.6K reputationPosted Mar 22, 2015, 3:50 AM EDT
hothorasman panjaitan117 reputationPosted Mar 22, 2015, 6:19 AM EDT