Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Fuzzy
.
Toggle Highlighting
SQL
SELECT page.page_title, lt.lt_title FROM (SELECT cl_from AS page_id FROM categorylinks WHERE cl_to = 'בוט_חוקים') AS cat JOIN pagelinks AS pl ON pl.pl_from = cat.page_id LEFT JOIN linktarget AS lt ON lt.lt_id = pl.pl_target_id AND lt.lt_namespace = 0 LEFT JOIN page ON page.page_id = cat.page_id WHERE NOT EXISTS ( SELECT 1 FROM page AS dst WHERE dst.page_title = lt.lt_title AND (dst.page_namespace = 0 OR dst.page_namespace = 116) ) -- LIMIT 1000 /* SELECT page_title, lt.lt_title AS target_title JOIN pagelinks AS pl ON pl.pl_from = page_id JOIN linktarget AS lt ON lt.lt_id = pl.pl_target_id WHERE lt.lt_namespace = 0 AND (NOT EXISTS( SELECT 1 FROM page as target WHERE target.page_title = lt.lt_title AND (target.page_namespace = 0 OR target.page_namespace = 116) )) AND ORDER BY lt.lt_title; */
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...