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
KCVelaga (WMF)
.
Toggle Highlighting
SQL
WITH gender_counts AS (SELECT up_value, COUNT(DISTINCT user_id) AS user_count FROM user LEFT JOIN user_properties ON up_user = user_id WHERE up_property = 'gender' GROUP BY up_value), total_users AS (SELECT COUNT(DISTINCT user_id) AS total_count, FROM user) SELECT gender_counts.up_value / total_users.total_count FROM gender_counts
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...