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
Tamzin
.
Toggle Highlighting
SQL
SELECT user_name, user_registration, log_timestamp, log_timestamp - user_registration AS time_between FROM logging INNER JOIN user ON user_name = REPLACE(log_title, "_", " ") WHERE log_type = "rights" AND REGEXP_SUBSTR(LOG_PARAMS, 'oldgroups";a:\\d+:\\K.*?\\}') NOT LIKE "%extendedconfirmed%" AND REGEXP_SUBSTR(LOG_PARAMS, 'newgroups";a:\\d+:\\K.*?\\}') LIKE "%extendedconfirmed%" AND EXISTS ( -- Anyone who's since lost it will be a weird fluke of some sort SELECT 1 FROM user_groups WHERE ug_user = user_id AND ug_group = "extendedconfirmed" ) AND NOT EXISTS ( -- Delayed grant due to adminship at time of EC implementation. SELECT 1 FROM user_former_groups WHERE ufg_user = user_id AND ufg_group = "sysop" ) ORDER BY 4 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...