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
Halfak (WMF)
.
Toggle Highlighting
SQL
USE enwiki_p; select DATABASE() AS wiki, COUNT(*)/7 AS registrations_per_day, SUM(user_editcount > 0)/7 AS new_editors_per_day from logging inner join user ON log_user = user_id where log_type = "newusers" and log_action = "create" and log_timestamp between "20150407" AND "20150414"; USE eswiki_p; select DATABASE() AS wiki, COUNT(*)/7 AS registrations_per_day, SUM(user_editcount > 0)/7 AS new_editors_per_day from logging inner join user ON log_user = user_id where log_type = "newusers" and log_action = "create" and log_timestamp between "20150407" AND "20150414"; USE nlwiki_p; select DATABASE() AS wiki, COUNT(*)/7 AS registrations_per_day, SUM(user_editcount > 0)/7 AS new_editors_per_day from logging inner join user ON log_user = user_id where log_type = "newusers" and log_action = "create" and log_timestamp between "20150407" AND "20150414";
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...