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
SELECT Ort.page_title, Navi.page_title FROM page AS Navi, pagelinks, page AS Ort WHERE Ort.page_namespace = 0 AND Navi.page_namespace = 10 AND Navi.page_title LIKE "Navi%" AND Navi.page_title != "NaviBlock" AND Navi.page_title NOT LIKE "%/Doku" AND pl_from = Navi.page_id AND pl_title = Ort.page_title AND pl_namespace = Ort.page_namespace AND NOT EXISTS (SELECT 1 FROM templatelinks, linktarget WHERE tl_from = Ort.page_id AND tl_target_id = lt_id AND lt_title = Navi.page_title AND lt_namespace = Navi.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...