Skip to content

Instantly share code, notes, and snippets.

@vgiri2015
Created June 17, 2020 12:13
Show Gist options
  • Save vgiri2015/a7953cfc81b25b513423c717a5a1ccdd to your computer and use it in GitHub Desktop.
Save vgiri2015/a7953cfc81b25b513423c717a5a1ccdd to your computer and use it in GitHub Desktop.
select A.id as id, count(*) as key from table A group by id order by key desc;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment