Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Usuários editando após desautorizados por filtro em abril de 2018
by
Danilo.mac
This query is marked as a draft
This query has been published
by
OTAVIO1981
.
Usuários editando após desautorizados por filtro de vandalismo em março de 2018
Toggle Highlighting
SQL
use ptwiki_p; select rev_user_text, tempo AS Última_desautorização, MAX(rev_timestamp) AS Última_edição , SUM(rev_timestamp > tempo) AS Edições_após_desautorização FROM revision_userindex inner JOIN (select afl_user_text as nome, max(afl_timestamp) as tempo from abuse_filter_log where afl_timestamp LIKE '201801%' and (afl_filter = 18 or afl_filter = 70 or afl_filter = 7 or afl_filter = 141 or afl_filter = 167 or afl_filter = 163 or afl_filter = 149 or afl_filter = 150 or afl_filter = 151 or afl_filter = 152 or afl_filter = 165) group by afl_user_text) as A ON nome = rev_user_text where rev_timestamp LIKE '201801%' group by rev_user_text HAVING MAX(rev_timestamp) > tempo
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...