SQL
x
select * from categorylinks
where cl_from in (select page_id from page where page_is_redirect = 1 and page_namespace = 118)
-- select count(1) from page
-- join redirect on rd_from = page_id
-- where page_is_redirect = 1
-- and page_namespace = 118
-- and page_id in (select cl_from from categorylinks where cl_to in ('All_disambiguation_pages', 'All_set_index_articles'));
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.