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
African Hope
.
Toggle Highlighting
SQL
/* SET @project = "frwikiquote_p.user"; set @qry1:= concat('select user_id, user_name, ug_group from ', @project, ' JOIN user_groups on ug_user = user_id and ug_group = "sysop"', ' limit 10'); prepare stmt from @qry1 ; execute stmt ; */ SELECT DISTINCT a.actor_name AS User, cl.cl_to AS Category FROM # get commons page enwiki_p.page cp # get commons category INNER JOIN enwiki_p.categorylinks cl ON cp.page_id = cl.cl_from # get author details INNER JOIN enwiki.actor a ON a.actor_id = cp.page_actor WHERE # filter by user cl.cl_from = "Wikipedia sockpuppets" GROUP BY Category LIMIT 30;
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...