This file contains 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 | |
FETCH FIRST 3 ROWS WITH TIES; | |
name | count | |
------------+------- | |
John Doe | 2392 | |
Jane Doe | 1960 | |
Richard Doe | 1898 | |
Robert Doe | 1898 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment