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

SQL

AخA
 
USE eswiki_p;
SELECT page_namespace, page_title AS page, pp_value AS item
    FROM (SELECT * FROM page WHERE page_is_redirect = 1) AS page
    JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props
        ON pp_page = page_id
ORDER BY page_title, page_namespace;
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...