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
Putnik
.
Toggle Highlighting
SQL
SET @add_link_tag = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'newcomer task add link'); SET @reverted_tag = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mw-reverted'); SELECT ct_add.ct_rev_id FROM change_tag ct_add INNER JOIN change_tag ct_revert ON ct_add.ct_rev_id = ct_revert.ct_rev_id AND ct_revert.ct_tag_id = @reverted_tag WHERE ct_add.ct_tag_id = @add_link_tag;
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...