Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
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
.
Get all pages in a category, excluding pages that require disambiguation, or have certain phrases. Currently set up for names and surnames.
Toggle Highlighting
SQL
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 500
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...