Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Mwra
.
Per "Manual:user_former_groups table": The user_former_groups table stores the groups the user has once belonged to but does will not contain groups the user had belonged to before MW 1.17 (i.e. before 2011-06-22). Data is sorted in reverse order of user account creation. As this seems to return items still with valid bot flag (group) membership, this data with be flawed, even for the >= MW 1.17 era.
Toggle Highlighting
SQL
SELECT user_name, user_registration, user_id FROM user JOIN user_former_groups ON (user_former_groups.ufg_user = user.user_id) WHERE user_former_groups.ufg_group LIKE '%bot%' AND user.user_registration <= '20201231235959' ORDER BY user.user_registration DESC
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...