SQL
x
use hewiki_p;
select * from templatelinks
where tl_from_namespace = 0
and tl_namespace < 6
and not tl_namespace = 10
and not exists
(select * from page
where page_id = tl_from
and page_title = tl_title)
and not tl_from in (1299321, 975310, 1422099, 1422099, 1422676, 801208, 1406418)
and not (tl_namespace = 4
and (tl_title like "בוט/בוט_שנים/%"
or tl_title in ("גרף_ערכים")))
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.