Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Account creation and users blocked per day in ptwiki
by
Danilo.mac
This query is marked as a draft
This query has been published
by
NKohli (WMF)
.
Toggle Highlighting
SQL
USE ptwiki; SELECT SUBSTR(log_timestamp, 1, 8) DAY, SUM((log_type, log_action) = ('newusers', 'create')) ACCUNTS_CREATED, SUM((log_type, log_action) = ('block', 'block')) BLOCKS, SUM((log_type, log_action) = ('block', 'block') AND log_title NOT RLIKE '^(\\d+\\.\\d+\\.|[0-9a-fA-F]+:[0-9a-fA-F]+)') REGISTERED_USERS_BLOCKED FROM logging WHERE log_timestamp > 20200905000000 AND (log_type, log_action) IN (('block', 'block'), ('newusers', 'create')) GROUP BY DAY;
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...