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
DannyS712
.
Toggle Highlighting
SQL
#USE wikidatawiki_p; SELECT #actor.actor_name AS 'User', #If you only know the user's actor id, but you want the user's name too change_tag_def.ctd_name AS 'Tag', change_tag_def.ctd_id AS 'Tag id', #actor.actor_id, #If you only know the user's name, but want the actor id too COUNT(revision_userindex.rev_id) AS 'Count' FROM revision_userindex LEFT JOIN change_tag ON revision_userindex.rev_id = ct_rev_id LEFT JOIN change_tag_def ON ct_tag_id = ctd_id LEFT JOIN actor ON revision_userindex.rev_actor = actor.actor_id WHERE actor.actor_name = 'DannyS712' #AND revision_userindex.rev_actor = 2167 AND ctd_name <> '' GROUP BY actor.actor_name, change_tag_def.ctd_name ORDER BY COUNT(revision_userindex.rev_id) 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...