SQL
x
use hewiki_p;
select page_namespace, page_title, tl_title from templatelinks join page as p1
on tl_namespace = 10
and tl_title like "דגל/%"
and p1.page_id = tl_from
and not exists
(select * from page as p2
where tl_title = p2.page_title
and p2.page_namespace = 10)
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.