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
IKhitron
.
Toggle Highlighting
SQL
/*set @n = 'Киевская'; select page_title from page where (page_title = @n or page_title like concat(@n, '_(%)')) and not page_namespace*/ set @page = 10069356; select a, locate('(', a) as 'c', if locate('(', a) > 0 then substring(a,1,locate('(', a)-2); else 'ggg' end if from (select pl_title as 'a' from pagelinks where pl_from = @page and not pl_namespace union select page_title as 'a' from page where page_id in (select tl_from from templatelinks where tl_target_id = 21855) and not page_namespace) t0 order by a
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...