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
Chicocvenancio
.
Toggle Highlighting
SQL
select IFNULL(up_value, 'not specified') as gender, count(IFNULL(up_value, 1)) as num, up_user from ptwiki_p.user_properties ps left join (select rev_user, COUNT(rev_id) as count from ptwiki_p.revision where rev_timestamp > DATE_FORMAT("2018-07-01" ,'%Y%m%d%H%i%s') and rev_user != 0 group by rev_user order by count DESC limit 1000) ed on ed.rev_user = ps.up_user where (ps.up_property = 'gender' or ps.up_value is null) #group by up_value;
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...