Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Articles created by Kenrick95 in idwiki + its categories
by
Kenrick95
This query is marked as a draft
This query has been published
by
Kenrick95
.
Toggle Highlighting
SQL
USE idwiki_p; SELECT cl.cl_to, COUNT(p.page_id) FROM revision AS r, page AS p, categorylinks AS cl, categorylinks AS cl2, category AS c WHERE r.rev_parent_id = 0 AND r.rev_user_text = "Kenrick95" AND r.rev_page = p.page_id AND cl.cl_from = p.page_id AND p.page_namespace = 0 AND p.page_is_redirect = 0 AND cl.type = "page" AND cl2.type = "subcat" AND c.cat_title = cl.cl_from AND cl2.cl_to = c.cat_title GROUP BY cl.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...