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 hewiki_p; select tl_title as 'תבנית', page_title as 'ערך', case tl_namespace when 10 then "" else tl_namespace end as 'מרחב' from page join templatelinks on (page_namespace = 0 or page_namespace = 100) and page_id = tl_from and tl_namespace != 8 and not exists (select * from page as p1 where p1.page_namespace = tl_namespace and p1.page_title = tl_title) and not (page_namespace = 100 and tl_title like "אדריכלות/אדריכל_נבחר/%" or tl_title like "%/ציטוט_נבחר/%" or tl_title like "אדריכלות/אדריכלים_מפורסמים/אדריכל_נבחר/%" or tl_title like "%/תמונה_נבחרת/%" or tl_title like "%/היום_בהיסטוריה/%" or tl_title like "%/ערך_נבחר/%" or tl_title like "%/מאמר_נבחר/%" or tl_title like "%/אתר_נבחר/%" )
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...