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 REPLACE(P.page_title, '_', ' '), GROUP_CONCAT(REPLACE(pl_title, '_', ' ') SEPARATOR ', ') FROM page AS P, categorylinks, pagelinks LEFT JOIN page AS rotlink ON pl_namespace = rotlink.page_namespace AND pl_title = rotlink.page_title WHERE P.page_namespace = 0 AND P.page_id = cl_from AND (cl_to = 'Vorname' OR cl_to LIKE '%\_Vorname' ) AND pl_from = P.page_id AND pl_namespace = 0 AND pl_title LIKE CONCAT(SUBSTRING_INDEX(P.page_title, '_(', 1), '\_%') AND pl_title NOT LIKE CONCAT(SUBSTRING_INDEX(P.page_title, '_(', 1), '\_(%') AND rotlink.page_id IS NULL GROUP BY P.page_title LIMIT 10
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...