This query is marked as a draft This query has been published by Jheald.

SQL

AخA
 
USE commonswiki_p;
SELECT CONCAT("Category:",page_title) AS category
FROM 
    page
    INNER JOIN templatelinks t1 ON t1.tl_from = page_id
WHERE
    page_namespace = 14 and       -- categories only
    t1.tl_title = 'Listed_building_England'
# LIMIT 1
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...