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
Hgzh
.
Toggle Highlighting
SQL
WITH RECURSIVE Cat AS ( SELECT page_title, page_id FROM page WHERE page_title = "Pianist" AND page_namespace = 14 UNION SELECT Subcat.page_title, Subcat.page_id FROM page AS Subcat, categorylinks, Cat WHERE Subcat.page_namespace = 14 AND cl_from = Subcat.page_id AND cl_to = Cat.page_title AND cl_type = "subcat" ) SELECT DISTINCT Art.page_title AS "page", Flag.fpp_pending_since AS "since" FROM Cat INNER JOIN categorylinks AS Catlinks ON Cat.page_title = Catlinks.cl_to INNER JOIN page AS Art ON Catlinks.cl_from = Art.page_id INNER JOIN flaggedpage_pending AS Flag ON Flag.fpp_page_id = Art.page_id WHERE Art.page_namespace = 0 ORDER BY since
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...