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

SQL

AخA
 
USE enwiki_p;
SELECT pg.page_title FROM page pg
INNER JOIN templatelinks tl
ON pg.page_id=tl.tl_from AND tl.tl_title="Orphan"
INNER JOIN pagelinks pl
ON pl.pl_title = pg.page_title AND pl.pl_from_namespace = 0 
LEFT JOIN redirect rd
ON pl.pl_from = rd.rd_from
WHERE pg.page_namespace = 0 AND rd.rd_title IS null
LIMIT 1000;
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...