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
HenriqueCrang
.
Toggle Highlighting
SQL
use ptwiki_p; #desc revision; SELECT r.rev_user_text AS REVERSOR, rp.rev_user_text AS REVERTIDO, p.page_title AS ARTIGO, count(*) FROM revision r INNER JOIN revision rp ON r.rev_parent_id = rp.rev_id INNER JOIN revision rpp ON rp.rev_parent_id = rpp.rev_id INNER JOIN page p ON r.rev_page = p.page_id WHERE r.rev_timestamp > 20160000000000 and r.rev_sha1 = rpp.rev_sha1 and r.rev_user != 0 and rp.rev_user != 0 #and r.rev_page IN (select distinct cl_from from categorylinks where cl_to = "!Artigos_destacados") group by 1,2,3 ;
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...