title: Mysql GROUP_CONCAT of first n rows
body: <p>Is it possible to get comma separated value of first n (say 10 rows of a column) rows using Mysql?</p>
  
  <p>I have a query to get data greater than CURDATE(). And it will return more than 100 rows of result. What I want is, GROUP_CONCAT the first 10 rows of result.</p>
  
  <p>This is my query:</p>
  
  <pre><code>SELECT GROUP_CONCAT(user_id) AS userids
  FROM user_tasks
  WHERE due_date &gt; CURDATE() LIMIT 10;
  </code></pre>
  
  <p>am getting entire rows. I need first 10 rows only</p>
  
  <p>Thanks</p>