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
SET @start_date = '20150101000000'; SET @end_date = '20150201000000'; SELECT COUNT(log_user) 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 tewiki_p.user_properties p JOIN tewiki_p.logging l ON up_user = log_user 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...