Created
April 12, 2014 00:32
-
-
Save Ironholds/10511927 to your computer and use it in GitHub Desktop.
example query
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 DISTINCT(rc_user_text) AS bfuser, | |
| user_editcount AS edits, | |
| min(rev_timestamp) AS firstedit | |
| FROM recentchanges INNER JOIN user ON rc_user = user_id | |
| INNER JOIN revision ON rc_user = rev_user | |
| WHERE rc_type IN (1,0) | |
| AND rc_bot = 0 | |
| AND rc_user > 0 | |
| GROUP BY bfuser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment