SQL
AخA
use fawiki_p;
select
rev_user_text,
substr(rev_timestamp, 1, 4) YR,
quarter(concat(substr(rev_timestamp, 1, 4), '-', substr(rev_timestamp, 5, 2), '-01')) QTR,
count(*) EditCount
from revision
left join user_groups
on rev_user = ug_user
and ug_group = 'bot'
where
ug_user is null
and rev_user <> 0
group by
rev_user_text,
substr(rev_timestamp, 1, 4),
quarter(concat(substr(rev_timestamp, 1, 4), '-', substr(rev_timestamp, 5, 2), '-01'))
having EditCount > 35 -- inflection point
order by 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.
All SQL code is licensed under CC0 License.