Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
mp2.1 DAB pages containing external links/references
by
Saeidpourbabak
This query is marked as a draft
This query has been published
by
Estopedist1
.
Toggle Highlighting
SQL
USE etwiki_p; (SELECT CONCAT ('# [[',REPLACE(page_title,'_',' '),']]') FROM page WHERE page_namespace=0 AND page_id IN ( SELECT el_from FROM externallinks WHERE el_from IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) ) ) UNION ( SELECT DISTINCT concat('# [[',REPLACE(page_title,'_',' '),']]')#,tl_title FROM page JOIN templatelinks ON page_id=tl_from WHERE page_is_redirect=0 AND page_namespace=0 AND tl_namespace = 10 AND page_id IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) #AND (tl_title LIKE "یادکرد%" # OR tl_title LIKE "پانویس" ) ) LIMIT 5;
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...