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
Dideseld
.
Toggle Highlighting
SQL
SELECT YEAR(rev_timestamp) AS Jahr, COUNT(*) AS Gesamtartikel, SUM(CASE WHEN cl_to = 'Frau' THEN 1 ELSE 0 END) AS Frauenartikel, (SUM(CASE WHEN cl_to = 'Frau' THEN 1 ELSE 0 END) / COUNT(*)) * 100 AS FrauenanteilProzent FROM revision JOIN page ON revision.rev_page = page.page_id JOIN categorylinks ON page.page_id = categorylinks.cl_from WHERE page_namespace = 0 AND rev_timestamp BETWEEN DATE_FORMAT(NOW() - INTERVAL 10 YEAR, '%Y%m%d%H%i%s') AND DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') AND categorylinks.cl_to = 'Frau' GROUP BY Jahr ORDER BY Jahr DESC;
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...