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
Yi7cuGhe
.
Toggle Highlighting
SQL
/*SELECT * FROM page WHERE page_namespace = 14 AND page_title = 'Person'*/ WITH people as ( SELECT cl_from, cl_to as gender FROM categorylinks WHERE cl_to IN ('Mann', 'Frau', 'Nichtbinäre_Person', 'Geschlecht_unbekannt') ) SELECT * FROM people/*SELECT gender, avg(cats) FROM ( SELECT gender, c.cl_from, COUNT(distinct cl_to) cats FROM categorylinks c JOIN people p ON c.cl_from = p.cl_from GROUP BY 1,2) a*/
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...