title: How to select columns as CSV in MySQL?
body: <p>Here is the table</p>
  
  <pre><code>id    name
  ----------
  1     john
  2     dave
  3     eve
  </code></pre>
  
  <p><code>select * from table</code> will give us </p>
  
  <pre><code>id    name
  ----------
  1     john
  2     dave
  3     eve
  </code></pre>
  
  <p>How will you query in order to get the below output?</p>
  
  <pre><code>id       name
  ----------------------
  1,2,3    john,dave,eve
  </code></pre>