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
Geraki
.
Toggle Highlighting
SQL
SET @start_date = '20190101000000'; SET @end_date = '201912312359000'; SELECT COUNT(log_actor) AS total, COUNT(CASE WHEN (up_property = "gender" AND up_value = "female") THEN up_user END) AS gender_female, COUNT(CASE WHEN (up_property = "gender" AND up_value = "male") THEN up_user END) AS gender_male FROM elwiki_p.user_properties p JOIN elwiki_p.logging l ON up_user = log_actor WHERE `log_type` = 'newusers' AND `log_action` = 'create' AND `log_timestamp` BETWEEN @start_date AND @end_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...