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
Chlod
.
Uses the built-in "gender" option for MediaWiki.
Toggle Highlighting
SQL
SET @WIR_MEMBERS = "WikiProject_Women_in_Red/Members"; SELECT `up_value` AS `gender`, COUNT(*) AS 'count' FROM `pagelinks` RIGHT JOIN `user` ON `user_name` = `pl_title` LEFT JOIN `user_properties` ON `up_user` = `user_id` AND `up_property` = "gender" WHERE `pl_from` = ( SELECT `page_id` FROM `page` WHERE `page_title` = @WIR_MEMBERS AND `page_namespace` = 4 -- wikipedia ns ) AND `pl_namespace` = 2 -- user ns GROUP BY `gender`;
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...