title: check all data, count them, sort by count and return one of each data bt mysql
body: <p>I have a table that contains some data like below:</p>
  
  <p><strong>Id</strong>  : 1,2,3,4,5,6,7,8,9,10</p>
  
  <p><strong>data</strong>: 3,2,3,2,5,3,2,3,5,1</p>
  
  <p>And I want this <strong>output: 3,2,5,1</strong></p>
  
  <p>This means that MySQL check all data, count them, sort by count and return one of each data.</p>
  
  <p>I try @mysql_query <code>('SELECT * FROM</code>datatable<code>GROUP BY data');</code></p>
  
  <p>But it returns an unsorted group data and I have repeated data like 3333222551</p>