Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Transform data into column

$
0
0
Hi All,May any one help me in query for the below scenerio : I have data like this in the table :IntRecpieID strName intMealtypeID Total100 ‘A’ 1 20101 'B' 2 30100 'A' 3 40Desired Output required:IntRecpieID StrName 1 2 3 100 'A' 20 Null 40 101 'B' Null 30 NullI would be very greatfull to you.Thanks in Advance

Viewing all articles
Browse latest Browse all 3145

Latest Images

Trending Articles



Latest Images