SQL
AخA
SELECT page_title, GROUP_CONCAT(DISTINCT birth.cl_to SEPARATOR ' | ')
FROM page
JOIN categorylinks AS blp ON blp.cl_from = page_id AND blp.cl_to = 'Living_people'
JOIN categorylinks AS birth ON birth.cl_from = page_id
AND (birth.cl_to LIKE '19%'
AND birth.cl_to RLIKE '^19([01][0-9]s?|2[0-7])_births$')
WHERE page_namespace = 0
GROUP BY page_title;
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.