Fork of
Get all pages in a category
by Theredproject
This query is marked as a draft
This query has been published
by Dylsss.
SQL
x
use enwiki_p;
SELECT IF(page_namespace = 6, 'category', 'article') as type, page_title
FROM categorylinks
JOIN page ON page_id = cl_from
WHERE cl_to = 'Given_names'
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.