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
Wurgl
.
Download => Wikitable ==> Copy/Paste
Toggle Highlighting
SQL
SELECT CONCAT('[[', REPLACE(page_title, '_', ' '), ']]') As Artikel, GROUP_CONCAT(CONCAT('[[:Kategorie:', REPLACE(cl_to, '_', ' '), ']]') SEPARATOR ', ') As Kategorien FROM page, categorylinks WHERE cl_from = page_id AND (cl_to LIKE "Geboren%" OR cl_to LIKE "Gestorben%") AND page_namespace = 0 AND NOT EXISTS (SELECT 1 FROM categorylinks AS C WHERE C.cl_from = page_id AND C.cl_to IN ("Mann", "Frau", "Geschlecht_unbekannt", "Nekrolog", "Nichtbinäre_Person") ) GROUP BY page_title
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...