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 categorylinks.cl_to AS Category, COUNT(DISTINCT page.page_title) AS Total_Articles FROM categorylinks INNER JOIN page ON categorylinks.cl_from = page.page_id INNER JOIN revision ON page.page_latest = revision.rev_id INNER JOIN actor ON revision.rev_actor = actor.actor_id WHERE categorylinks.cl_type = 'page' AND categorylinks.cl_sortkey_prefix = '' AND page.page_namespace = 14 AND actor.actor_name = 'Alexandre056' GROUP BY categorylinks.cl_to HAVING Total_Articles < 10 ORDER BY Total_Articles DESC;
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...