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
Tjmj
.
Toggle Highlighting
SQL
WITH hc AS ( SELECT p.page_id, p.page_title FROM categorylinks c LEFT JOIN page p ON (c.cl_from = p.page_id) WHERE c.cl_to = "隐藏分类" ) SELECT hc.page_id, hc.page_title, COUNT(*) AS cat_count FROM hc LEFT JOIN categorylinks c2 ON (hc.page_id = c2.cl_from) GROUP BY 1, 2 HAVING COUNT(*) = 1 LIMIT 10 /* SELECT p.page_id, p.page_title, c.cl_to FROM categorylinks c LEFT JOIN page p ON (c.cl_from = p.page_id) WHERE c.cl_to = "隐藏分类" LIMIT 100 SELECT p.page_id, p.page_title, c.cl_to FROM page p LEFT JOIN categorylinks c ON (c.cl_from = p.page_id) WHERE p.page_id = 643321 */*/
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...