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
.
Toggle Highlighting
SQL
USE dewiki_p; SELECT CONCAT("[[", REPLACE(page_title, "_", " "), "]]") AS "BKL-Seite", GROUP_CONCAT(Kandidaten.tl_title SEPARATOR ", ") AS "Namespace-0-Vorlagen" FROM page, templatelinks AS Kandidaten, templatelinks AS BKL WHERE page_namespace = 0 AND Kandidaten.tl_from_namespace = 0 AND Kandidaten.tl_from = page_id AND Kandidaten.tl_namespace = 0 AND LOWER(REPLACE(Kandidaten.tl_title, "_(Begriffsklärung)", "")) NOT LIKE CONCAT("%", LOWER(REPLACE(page_title, "_(Begriffsklärung)", ""))) AND BKL.tl_from_namespace = 0 AND BKL.tl_from = page_id AND BKL.tl_namespace = 10 AND BKL.tl_title = "Begriffsklärung" GROUP BY Kandidaten.tl_from
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...