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 substr(rev.rev_timestamp, 1, 4) AS year, COUNT(CASE WHEN up.up_value = 'male' THEN 1 END) AS male_count, COUNT(CASE WHEN up.up_value = 'female' THEN 1 END) AS female_count, COUNT(CASE WHEN up.up_value NOT IN ('male', 'female') THEN 1 END) AS other_count FROM revision rev JOIN user u ON rev.rev_user = u.user_id JOIN user_properties up ON u.user_id = up.up_user WHERE substr(rev.rev_timestamp, 1, 4) IN ('2020', '2021', '2022', '2023', '2024') AND up.up_property = 'gender' GROUP BY year ORDER BY year;
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...