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
Hoby 44
.
Toggle Highlighting
SQL
SELECT reverted.*, page.page_namespace AS page_namespace FROM staging.enwiki_reverted_20140820 AS reverted INNER JOIN enwiki.page ON rev_page = page_id INNER JOIN staging.enwiki_unified_bot_20170315 AS reverted_bot ON rev_user = reverted_bot.user_id INNER JOIN staging.enwiki_unified_bot_20170315 AS reverting_bot ON reverting_user = reverting_bot.user_id WHERE rev_user != reverting_user AND rev_revert_offset = revisions_reverted UNION ALL SELECT reverted.*, archive.ar_namespace AS page_namespace FROM staging.enwiki_reverted_20140820 AS reverted INNER JOIN enwiki.archive ON rev_id = ar_rev_id INNER JOIN staging.enwiki_unified_bot_20170315 AS reverted_bot ON rev_user = reverted_bot.user_id INNER JOIN staging.enwiki_unified_bot_20170315 AS reverting_bot ON reverting_user = reverting_bot.user_id WHERE rev_user != reverting_user AND rev_revert_offset = revisions_reverted;
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...