title: fetch comma separated value in SQL query
body: <p>Please check below table </p>
  
  <pre><code>Code   Name  
  -----------
   001   A
   001   B
  </code></pre>
  
  <p>My query is </p>
  
  <pre><code>Select Code,Name from TableA
  </code></pre>
  
  <p>But I need records like </p>
  
  <pre><code>Code  Name
  ------------
  001    A,B
  </code></pre>
  
  <p>How can I do that?</p>