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
LD
.
fr:Wikipédia:Bulletin_des_administrateurs/2023/Semaine_14#Création_de_catégories_à_la_chaîne
Toggle Highlighting
SQL
USE frwiki_p; SELECT cl_to AS Category, COUNT(DISTINCT page.page_title) AS Total_Pages FROM page INNER JOIN categorylinks ON page.page_id = categorylinks.cl_from INNER JOIN revision ON page.page_latest = revision.rev_id INNER JOIN actor ON revision.rev_actor = actor.actor_id WHERE page_namespace = 14 AND actor.actor_name = 'Alexandre056' AND categorylinks.cl_to IN ( SELECT cl_to FROM categorylinks WHERE cl_type = 'page' AND cl_sortkey_prefix = '' AND cl_from IN (SELECT page_id FROM page WHERE page_namespace = 14 AND page_title = 'Utilisateur:Alexandre056') ) GROUP BY 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...