Fork of
(iswiki) Redirects to deleted pages
by Snævar
This query is marked as a draft
This query has been published
by Estopedist1.
SQL
AخA
use etwiki_p;
SELECT page_title, rd_title, rd_namespace, page_namespace
FROM redirect
INNER JOIN page ON page_id = rd_from
INNER JOIN logging ON rd_title = log_title AND log_type = 'delete'
WHERE rd_title NOT IN (
SELECT page_title FROM page
)
/* AND page_namespace NOT IN (2,3)
AND rd_namespace NOT IN (2,3) */
GROUP BY rd_from
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.
Query status: complete
Executed on Fri, 07 Jul 2017 14:33:30 UTC.