SQL
x
select distinct(page_title), page_id from page
where exists
(select * from pagelinks
where pl_title = page_title
and pl_from in (1299004, 1212485, 2014692))
and not exists
(select * from templatelinks
where tl_from = page_id
and tl_title = "ערך_מומלץ");
select * from templatelinks
where tl_title = "ערך_מומלץ"
limit 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.