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
Bdijkstra
.
Note: need to match registered users by ID otherwise the query times out. Executes in ~6 minutes.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 300 FOR /*SELECT RIGHT(cl_to, 4) AS year, ipb_address AS `user`, ipb_timestamp AS ts, ipb_expiry AS exp, ipb_range_start AS `start`, ipb_range_end AS `end`, ipb_sitewide AS `sw` FROM ipblocks INNER JOIN page ON (page_title REGEXP '^Aaa' AND page_namespace=3 AND ipb_address=REPLACE(page_title, '_', ' ')) INNER JOIN categorylinks ON (cl_from=page_id AND cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]') WHERE ipb_auto=0 ORDER BY year, `user`*/ /*SELECT RIGHT(cl_to, 4) AS year, ipb_address AS `user`, ipb_timestamp AS ts, ipb_expiry AS exp, ipb_range_start AS `start`, ipb_range_end AS `end`, ipb_sitewide AS `sw` FROM categorylinks INNER JOIN page ON (cl_from=page_id AND page_namespace=3) INNER JOIN ipblocks ON (ipb_auto=0 AND ipb_address=REPLACE(page_title, '_', ' ')) WHERE cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' ORDER BY year, `user`*/ /*SELECT RIGHT(cl_to, 4) AS year, ipb_address AS `user`, ipb_timestamp AS ts, ipb_expiry AS exp, ipb_range_start AS `start`, ipb_range_end AS `end`, ipb_sitewide AS `sw` FROM page INNER JOIN categorylinks ON (cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' AND cl_from=page_id) INNER JOIN ipblocks ON (ipb_auto=0 AND ipb_address=REPLACE(page_title, '_', ' ')) WHERE page_namespace=3 ORDER BY year, `user`*/ SELECT year, `user`, ipb_timestamp AS ts, ipb_expiry AS exp, ipb_range_start AS `start`, ipb_range_end AS `end`, ipb_sitewide AS `sw` FROM (SELECT RIGHT(cl_to, 4) AS year, REPLACE(page_title, '_', ' ') AS `user` FROM page, categorylinks WHERE cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' AND cl_from=page_id AND page_namespace=3) pcl, (SELECT * FROM ipblocks WHERE ipb_auto=0) ipb WHERE ipb_address=`user` ORDER BY year, `user`
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...