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

Single Row Values

$
0
0

Hi All ,

I have a table with below output

Value1 Value2 Value3 ID
Department NULL NULL 97100
Type NULL NULL 63957
Department NULL NULL 177164
NULL State  NULL 97100
NULL Center NULL 63957
NULL Center NULL 177164
NULL NULL Global 97100

I require the result in the below format kindly help via set based query

Value1 Value2 Value3 ID
Department State Global 97100
Type Center Null 63957
Department Center Null 177164

Value1 Value2 Value3 ID




























Value1 Value2 Value3 ID












thanks

Priya



Viewing all articles
Browse latest Browse all 12890

Trending Articles



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