SQL
AخA
SELECT rd_namespace, COUNT(*) AS num_to_NS
FROM page
LEFT JOIN redirect ON rd_from = page_id
WHERE
page_namespace = 118
AND page_is_redirect = 1
GROUP BY rd_namespace
ORDER BY num_to_NS DESC
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.