This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
# Mobile: 10069356
# Template: 7216752
/*
select * from pagelinks
where pl_from = 10069356;
select * from templatelinks join page
on tl_from = page_id
where tl_target_id = 21855
select pl_title from pagelinks
where pl_from = 10069356
and not exists
(select * from templatelinks join page
 where pl_title = page_title
 and pl_namespace = page_namespace
 and tl_from = page_id
 and tl_target_id = 21855)
*/
select concat(page_namespace, ':', replace(page_title, '_', ' ')) from templatelinks join page
on tl_from = page_id
and tl_target_id = 21855
and not exists
(select pl_title from pagelinks
where pl_title = page_title
 and pl_namespace = page_namespace
 and pl_from = 10069356)
order by page_namespace
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.

Checking query status...