Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Could you provide sample data and your desired result? Commented Jul 6, 2018 at 19:02
  • I don't understand what you mean when you say "Find most frequent values for a given column" it seems as if you're counting in your example, and in the chosen answer. Do you need the one with the highest count, or the top 10 (you have LIMIT 10)? I'm not sure what's going on here. Commented Jul 6, 2018 at 19:06
  • related: stackoverflow.com/questions/344665/… Commented Jul 13, 2022 at 19:26