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

SQL

x
 
use hewiki_p;
select concat("[[", replace(page_title, "_", " "), "]]") from page
where exists
(select * from pagelinks
 where pl_from = 1342539
 and pl_title = page_title
 and pl_namespace = page_namespace)
and not exists
(select * from categorylinks
 where cl_from = page_id
 and cl_to = "חברי_המפלגה_הדמוקרטית_(ארצות_הברית)")
and page_namespace = 0;
select concat("[[", replace(page_title, "_", " "), "]]") from page
where exists
(select * from pagelinks
 where pl_from = 1342528
 and pl_title = page_title
 and pl_namespace = page_namespace)
and not exists
(select * from categorylinks
 where cl_from = page_id
 and cl_to = "חברי_המפלגה_הרפובליקנית_(ארצות_הברית)")
and page_namespace = 0
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...