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
Horcrux
.
Toggle Highlighting
SQL
USE itwiki_p; SELECT DISTINCT CONCAT('# [[', main.page_title, ']]') FROM page main, page talk WHERE CONCAT('Discussioni:', main.page_title) = talk.page_title main.page_namespace = 0 AND talk.page_namespace = 1 AND main.page_is_redirect = 0 AND talk.page_id IN ( SELECT tl_from FROM templatelinks WHERE tl_namespace = 10 AND ( tl_title = 'Richiesta immagini' OR tl_title = 'Richiesta foto' ) ) AND main.page_title IN ( SELECT REPLACE(WIKI.ips_site_page, ' ', '_') FROM wikidatawiki_p.wb_items_per_site WIKI, wikidatawiki_p.wb_items_per_site EXT WHERE WIKI.ips_item_id = EXT.ips_item_id AND WIKI.ips_site_id = 'itwiki' AND EXT.ips_site_id = 'commonswiki' ) ORDER BY page_title;
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...