title: SQL Server Trying to convert the data from rows to columns
body: <p>I have table with data like as below</p>
  <pre><code>Crosswalk_id Code
  ORG_201      1234
  ORG_201      3456
  ORG_201      3459
  ORG_201      0983
  ORG_201      2562
  ORG_201      1239
  </code></pre>
  <p>need to convert this into</p>
  <pre><code>Crosswalk_id   C1    C2   C3    C4    C5    C6
  ORG_201       1234  3456  3459  0983  2562  1239
  </code></pre>
  <p>Please help me to achieve this using pivot</p>