Fork of Get page creation info for all pages in a category by Jmorgan (WMF)
This query is marked as a draft This query has been published by Theredproject.

SQL

x
 
use enwiki_p;
SELECT IF(page_namespace = 0, 'category', 'article') as type, page_title 
FROM categorylinks 
JOIN page ON page_id = cl_from 
#WHERE cl_to = 'Surnames'
WHERE cl_to = 'Given_names'
AND page_title NOT LIKE '%_(%'
#AND page_title NOT LIKE '%_family%'
#AND page_title NOT LIKE '%House_of_%'
#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.

Checking query status...