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
Tulspal
.
Toggle Highlighting
SQL
SELECT SUM(CASE WHEN gender = 'male' THEN revision_count ELSE 0 END) AS male_edits, SUM(CASE WHEN gender = 'female' THEN revision_count ELSE 0 END) AS female_edits, ROUND(SUM(CASE WHEN gender = 'male' THEN revision_count ELSE 0 END) / NULLIF(SUM(CASE WHEN gender = 'female' THEN revision_count ELSE 0 END), 0), 2) AS male_female_ratio FROM user_properties
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...