Fork of Untitled query #26681 by OTAVIO1981
This query is marked as a draft This query has been published by Danilo.mac.

SQL

AخA
 
use ptwiki_p;
select rev_user_text, tempo, count(rev_timestamp)
FROM revision_userindex
inner JOIN (select afl_user_text as nome, max(afl_timestamp) as tempo from abuse_filter_log
where afl_timestamp LIKE '201804%' and afl_actions ='disallow'
group by afl_user_text) as A
ON nome = rev_user_text
where rev_timestamp LIKE '201804%'
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.
All SQL code is licensed under CC0 License.

Checking query status...