Fork of
Redirects from main to other namespaces
by Wargo
This query is marked as a draft
This query has been published
by Wargo.
SQL
AخA
use plwiki_p;
select p.page_title AS from_page, r.rd_namespace AS target_namespace, r.rd_title AS to_page
from redirect r, page p
where p.page_id = r.rd_from AND p.page_namespace = 3 AND r.rd_namespace = 1;
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.