Shahbaz Khan

Shahbaz Khan

  • NA
  • 129
  • 6.3k

Pivot more than one columns in SQL

May 3 2018 2:26 AM
Here is my Orignal table
 
 
Now i need in this format defined below ...using PIVOT 
 
RefCode | Dates | Ratio | Profit |  Dates | Ratio | Profit | Dates | Ratio | Profit | .........
 
i have do it but it just prints like this  
 
RefCode | Dates | Ratio | Profit  only

Answers (2)