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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT pg2.page_namespace, pg2.page_title#, term_text FROM revision_userindex JOIN pagelinks AS pl1 ON pl1.pl_from = rev_page JOIN page AS pg1 ON pg1.page_title = pl1.pl_title AND pg1.page_namespace = pl1.pl_namespace AND pl1.pl_from_namespace = 0 JOIN pagelinks AS pl2 ON pl2.pl_from = pg1.page_id AND pl2.pl_from_namespace = 120 AND pl2.pl_title = 'Q22964818' AND pl2.pl_namespace = 0 JOIN page AS pg2 ON rev_page = pg2.page_id #LEFT JOIN wb_terms ON term_full_entity_id = page_title AND term_language = 'en' AND term_type = 'label' AND term_text LIKE "%election%" WHERE rev_user_text = 'MatSuBot' AND rev_comment LIKE '%; cleanup' AND pg2.page_namespace = 0 AND pg2.page_is_redirect = 0 AND rev_timestamp >= '20180510' ORDER BY rev_timestamp;
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...