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
ⵓ
.
Toggle Highlighting
SQL
with p as (select page.page_title from page where page_namespace=0) ,s as (select page.page_title as subtitle , SUBSTRING_INDEX(page.page_id,"/",1) as maintitle, SUBSTRING_INDEX(page.page_id,"/",-1) as suff from page where page_namespace=0 and page.page_title like '%_/%') select p.page_title as maintitle , s.subtitle, s.suff, s.maintitle as pref from s inner join p on p.page_title=s.maintitle
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...