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
Hwem
.
Toggle Highlighting
SQL
USE ruwiki_p;SELECT subpage.page_title AS orphan_subpageFROM page AS subpageLEFT JOIN page AS parentON parent.page_title = SUBSTRING_INDEX(subpage.page_title, '/', 1)AND parent.page_namespace = subpage.page_namespaceWHERE subpage.page_namespace = 1 -- Namespace "Talk:"AND subpage.page_title LIKE "%/%" -- Identify subpages (contain '/')AND parent.page_id IS NULL -- Ensure the parent page doesn't existLIMIT 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...