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
Stevenliuyi
.
Toggle Highlighting
SQL
#SELECT p.page_title title, cl.cl_to category SELECT p.page_title title, pp.pp_value qid, cl.cl_to category FROM page p LEFT JOIN categorylinks cl ON cl.cl_from = p.page_id AND p.page_namespace = 0 AND p.page_is_redirect = 0 LEFT JOIN page_props pp ON pp.pp_page = p.page_id AND pp.pp_propname = 'wikibase_item' WHERE EXISTS ( SELECT 1 FROM page cat LEFT JOIN categorylinks cl2 ON cat.page_title = cl.cl_to AND cat.page_namespace = 14 AND cat.page_id = cl2.cl_from WHERE cl2.cl_to = '谥号' ) LIMIT 10
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...