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
軽快
.
Toggle Highlighting
SQL
use jawiki_p; select a.month, number_of_editor_include_anonymous_user, number_of_editor_exclude_anonymous_user, number_of_edits, number_of_edits_by_registered_user, number_of_edits_by_anonymous_user from ( select left( rev_timestamp, 6 ) as month, count( distinct rev_user ) as number_of_editor_include_anonymous_user from revision group by left(rev_timestamp, 6); ) as a left outer join ( select left( rev_timestamp, 6 ) as month, count( distinct rev_user ) as number_of_editor_exclude_anonymous_user from revision where rev_user != 0 group by left(rev_timestamp, 6); ) as b on a.month = b.month left outer join ( select left( rev_timestamp, 6 ) as month, count(*) as number_of_edits from revision group by left(rev_timestamp, 6); ) as c on a.month = c.month left outer join ( select left( rev_timestamp, 6 ) as month, count(*) as number_of_edits_by_registered_user from revision where rev_user != 0 group by left(rev_timestamp, 6); ) as d on a.month = d.month left outer join ( select left( rev_timestamp, 6 ) as month, count(*) as number_of_edits_by_anonymous_user from revision where rev_user = 0 group by left(rev_timestamp, 6); ) as e on a.month = e.month
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...