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
use ruwiki_p; # select substr(el_to, 3, locate('/', el_to, 3) - 3) as domain, concat('# [[', case page_namespace when 0 then '' when 104 then 'Проект' else page_namespace end, ':', replace(page_title, '_', ' '), ']] — ссылка на [', el_to, ']') as page from categorylinks join page join externallinks on cl_from = page_id and el_from = page_id where cl_to = 'Московский_метрополитен' and cl_type = 'page' order by domain, page_title asc
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...