title: alternate of group_concat function in mysql
body: <p>I need some comma separated values for one of my column :</p>
  <pre><code>Input :
  
  id    status
  1.    pause
  1.    start
  1.    running
  2.    pause
  3.    pause
  
  Output:
  id. status
  1.  pause,start,running
  2.  pause
  3.  pause
  </code></pre>
  <p>I do not want to use the group_concat function here as in future in it can be possible that will be using another type of database (sql/nosql).Can anyone help me to use any alternate method?</p>