Created
January 22, 2016 01:34
-
-
Save valericus/cd54208b5622680dd361 to your computer and use it in GitHub Desktop.
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 | |
users.name as name, count(*) as counter | |
FROM | |
messages | |
JOIN users | |
ON users.uid = messages.uid | |
GROUP BY messages.uid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment