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 replace(page_title, "_", " ") as name_of_the_template_with_flag from page where page_namespace = 10 and page_title like "דגל/%" and page_is_redirect = 0 and not exists (select * from categorylinks where cl_from = page_id and replace(cl_to, "_", " ") in ("תבניות - דגלים של מדינות", "תבניות - מחתרות וארגונים צבאיים למחצה")); select page_title, count(tl_from) from page inner join templatelinks on page_title = tl_title and page_namespace = tl_namespace where page_namespace = 10 and page_title like "דגל/%" and tl_from_namespace in (0, 10) group 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...