SQL
AخA
SELECT rd_from, page_namespace, page_title, rd_namespace, rd_title
FROM (
SELECT rd_from, rd_namespace, rd_title
FROM redirect
LEFT JOIN page ON rd_namespace = page_namespace AND rd_title = page_title
#WHERE page_namespace IS NULL
) AS r
LEFT JOIN page ON rd_from = page_id
WHERE page_namespace NOT IN (2, 3)
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.