Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Mxn
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT page_title, pp_value AS wikibase_item FROM page JOIN templatelinks ON tl_from_namespace = 0 AND page_id = tl_from JOIN categorylinks ON page_namespace = 0 AND page_id = cl_from JOIN page_props ON page_id = pp_page AND pp_propname = 'wikibase_item' WHERE tl_title = 'Infobox airport' AND (cl_to LIKE '% disestablishments%' OR cl_to LIKE 'Defunct %' OR cl_to LIKE '% demolished in %') ORDER BY page_title DESC;
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...