SQL
AخA
select distinct page_title
from page join categorylinks on cl_from = page_id,
category as catdepth1,
category as catdepth2,
and page_namespace = 0
and page_is_redirect = 0
and catdepth1.cat_title = "Redirect_templates"
and (categorylinks.cl_to in (select cat_title from category c1 where c1.cat_title = catdepth1.cat_title)
)
limit 50
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.