Hello,
I am trying to use a calculated table to consolidate the data from a transaction table.
Transaction Table
Seq Model StayTime
1 A 1
1 B 2
2 A 3
I basically want to consolidate the above table into following
Seq A B
1 1 2
2 3
For that I tried to write a SQL Query using PIVOT command which are not working.
Can any one help me with a sql commend for the same.
Thanks,
Praneeth.