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, prnt.pp_propname FROM page p INNER JOIN categorylinks cl ON cl.cl_from = p.page_id AND p.page_namespace = 0 AND p.page_is_redirect = 0 LEFT JOIN ( SELECT p2.page_title, pp.pp_propname pp_propname FROM page_props pp INNER JOIN page p2 ON (p2.page_id = pp.pp_page) ) prnt ON cl.cl_to = prnt.page_title LIMIT 10 #WHERE EXISTS( # SELECT 1 # FROM page JOIN categorylinks # WHERE cat.cl_to = categorylinks.cl_from # AND categorylinks.cl_to = "谥号" # )
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...