I have a column in mysql table that has the the data type INT(11).
How can I search to get the top 10 most occurring values in this column?
SELECT col, count(*) FROM tablethingie GROUP BY col ORDER BY count(*) DESC LIMIT 10
2.1m questions
2.1m answers
60 comments
57.0k users