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 u.user_id, u.user_name, MONTH(u.user_registration) AS month, YEAR(u.user_registration) AS year, up.up_value AS Gender, COUNT(r.rev_id) AS revision_count FROM user u LEFT JOIN user_properties up ON up.up_user = u.user_id LEFT JOIN revision r ON r.rev_user = u.user_id WHERE YEAR(u.user_registration) BETWEEN 2019 AND 2024 AND up.up_property = 'gender' GROUP BY YEAR(u.user_registration), MONTH(u.user_registration), Gender, u.user_name, u.user_id ORDER BY year, month;
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...