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
.
Alle Personen, welche aus Radsport-Seiten verlinkt sind, aber keine Radsportler sind
Toggle Highlighting
SQL
WITH RECURSIVE Cat AS (SELECT page_title, page_id FROM page WHERE page_title IN ('Radsportler_nach_Staat' ) AND page_namespace = 14 UNION SELECT SubCat.page_title, SubCat.page_id FROM page AS SubCat, categorylinks, Cat WHERE SubCat.page_namespace = 14 AND cl_from = SubCat.page_id AND cl_to = Cat.page_title AND cl_type = 'subcat' ) SELECT kaderList.page_title, spieler.page_title FROM page AS kaderList, categorylinks AS kaderCat, pagelinks, linktarget AS spielerTarget, templatelinks, linktarget AS PDtarget, page AS spieler LEFT JOIN (categorylinks AS fussballCat, Cat) ON spieler.page_id = fussballCat.cl_from AND cl_to = Cat.page_title WHERE kaderList.page_namespace = 0 AND kaderList.page_id = kaderCat.cl_from AND kaderCat.cl_to = 'Radsportveranstaltung' AND pl_from = kaderList.page_id AND pl_target_id = spielerTarget.lt_id AND spielerTarget.lt_title = spieler.page_title AND spielerTarget.lt_namespace = spieler.page_namespace AND spieler.page_namespace = 0 AND tl_from = spieler.page_id AND tl_target_id = PDtarget.lt_id AND PDtarget.lt_namespace = 10 AND PDtarget.lt_title = 'Personendaten' AND Cat.page_id IS NULL
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...