Created
May 31, 2022 22:11
-
-
Save sobrinho/99bfcdb7f727809a5c8c2950823231bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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