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

Pivot sql

$
0
0

Hi,

IDContract_Year type1Fee 1type1Fee 2type1Fee 3   type2Year1type2Year2type2Year3
12015 $1.50 $1.50 $1.50$2.00$2.00$2.00

this is my SOURCE DATA, AND i am trying to get in this model

id  CONTRACT_yrTYPEyear1    year2       year3
12015 type11.5 1.51.5
22015 type22.0 2.02.0

Please help


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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