SQL
x
SET
@c = 'American_screenwriters';
SELECT cl1.cl_from
FROM categorylinks AS cl1
WHERE cl1.cl_to = @c
AND cl1.cl_type = 'page'
LIMIT 100;
SELECT
page_title
FROM
page pg2
JOIN categorylinks AS cl2 ON pg2.page_id = cl2.cl_from
WHERE
cl2.cl_to = @c
AND cl2.cl_type = 'subcat';
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.