Created
April 17, 2013 09:59
-
-
Save atopal/5403158 to your computer and use it in GitHub Desktop.
most active AoA users
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 `customercare_reply`.`twitter_username`, `auth_user`.`username` as 'SUMO_username', count(*) as 'tweets' | |
| FROM `customercare_reply` | |
| LEFT JOIN `auth_user` on `auth_user`.`id`=`customercare_reply`.`user_id` | |
| WHERE `customercare_reply`.`created` >= '2013-04-02 0' | |
| GROUP BY `customercare_reply`.`twitter_username` ORDER BY COUNT(*) DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment