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
.
Begriffsklärungsseiten, welche keinen Blaulink enthalten.
Toggle Highlighting
SQL
SELECT CONCAT('[[', REPLACE(page_title, '_', ' '), ']]') AS Titel, (SELECT COUNT(*) FROM pagelinks WHERE pl_from = page_id AND pl_namespace = 0 AND NOT EXISTS (SELECT 1 FROM page AS RL WHERE RL.page_namespace = 0 AND RL.page_title = pl_title ) ) AS "Anzahl Rotlinks" FROM page, templatelinks WHERE page_namespace = 0 AND tl_from = page_id AND tl_from_namespace = page_namespace AND tl_title = 'Begriffsklärung' AND tl_namespace = 10 AND NOT EXISTS (SELECT 1 FROM page AS linkedPage, pagelinks WHERE pl_from = page.page_id AND pl_from_namespace = page.page_namespace AND pl_title != 'Begriffsklärung' AND pl_title = linkedPage.page_title AND pl_namespace = linkedPage.page_namespace )
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...