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
Bennylin
.
Fork from https://quarry.wmflabs.org/query/3921
Toggle Highlighting
SQL
USE idwiki_p; SELECT COUNT(DISTINCT rev_user) AS WomenTotal FROM revision WHERE rev_user IN ( SELECT user_id FROM user JOIN user_properties ON user_id=up_user WHERE up_property = 'gender' AND up_value = 'female' ); SELECT COUNT(DISTINCT rev_user) AS MenTotal FROM revision WHERE rev_user IN ( SELECT user_id FROM user JOIN user_properties ON user_id=up_user WHERE up_property = 'gender' AND up_value = 'male' ); SELECT COUNT(DISTINCT rev_user) as Total FROM revision WHERE rev_user IN ( SELECT user_id FROM user );
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...