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
Blahma
.
Toggle Highlighting
SQL
use cswiki_p; set @begin = '20150101000000', @end = '20160101000000'; select date(date_add(rev_timestamp, interval 2 hour)) as date, count(*) as edits from revision left join user_groups on rev_user = ug_user and ug_group = 'bot' where ug_user is null and rev_timestamp between date_sub('20150101000000', interval 2 hour) and date_sub(date_sub('20160101000000', interval 2 hour), interval 1 second) group by date order by date; # select date(date_add(rev_timestamp, interval 2 hour)) as date, count(*) as edits from revision left join user_groups on rev_user = ug_user and ug_group = 'bot' where ug_user is null and rev_timestamp between date_sub(@begin, interval 2 hour) and date_sub(date_sub(@end, interval 2 hour), interval 1 second) group by date order by date;
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...