Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

T-sql Query to Pivot Data

$
0
0

Hi, I have data in the below format.

ID Col_1

1 1234

1 2345

1 4567

I want to show it the below way:

ID Col1 Col2 col3

1 1234 2345 4567

Please help me with the query

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>