Fork of
Untitled query #39675
by Wurgl
This query is marked as a draft
This query has been published
by Wurgl.
SQL
x
USE dewiki_p;
SELECT p0.page_title
FROM page AS p0, templatelinks
WHERE p0.page_namespace = 0
AND p0.page_title LIKE "%\_(%)"
AND tl_from = p0.page_id
AND tl_title = "Personendaten"
AND tL_namespace = 10
AND NOT EXISTS (SELECT 1
FROM page AS p1
WHERE p1.page_title = SUBSTRING_INDEX(p0.page_title, '_(', 1)
AND p1.page_namespace = 0
)
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.