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
Titodutta
.
Toggle Highlighting
SQL
SELECT CONCAT('[[',bnwikisource_p.page.page_title,']]') AS bnwikisource, CONCAT('[[',bnwiki_p.page.page_title,']]') AS bnwiki FROM bnwiki_p.page JOIN bnwikisource_p.page ON bnwiki_p.page.page_title = bnwikisource_p.page.page_title LEFT JOIN bnwikisource_p.langlinks ON ll_from = bnwikisource_p.page.page_id LEFT JOIN (SELECT * FROM bnwikisource_p.page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = bnwikisource_p.page.page_id LEFT JOIN bnwikisource_p.templatelinks ON tl_from = bnwikisource_p.page.page_id WHERE (bnwikisource_p.page.page_namespace = 0 OR bnwikisource_p.page.page_namespace = 102) AND bnwikisource_p.page.page_is_redirect = 0 AND bnwiki_p.page.page_namespace = 0 AND bnwiki_p.page.page_is_redirect = 0 AND ll_title IS NULL AND pp_value IS NULL AND NOT EXISTS (SELECT * FROM bnwikisource_p.templatelinks AS tl1 WHERE bnwikisource_p.page.page_id = tl1.tl_from AND bnwikisource_p.page.page_namespace = tl1.tl_from_namespace AND tl_namespace = 10 AND tl_title LIKE 'توضيح') AND NOT EXISTS (SELECT * FROM bnwiki_p.templatelinks AS tl1 WHERE bnwiki_p.page.page_id = tl1.tl_from AND bnwiki_p.page.page_namespace = tl1.tl_from_namespace AND tl_namespace = 10 AND tl_title LIKE 'توضيح') GROUP BY bnwiki_p.page.page_title, bnwikisource_p.page.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...