Skip to content

Instantly share code, notes, and snippets.

@sobrinho
Created May 31, 2022
Embed
What would you like to do?
SELECT name, COUNT(*)
FROM absences
GROUP BY name
ORDER BY COUNT(*) DESC
LIMIT 5;
name | count
------------+-------
John Doe | 2392
Jane Doe | 1960
Richard Doe | 1898
Robert Doe | 1898
Mark Moe | 1713
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment