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
PhantomTech
.
Search for user's with significant edits to userspace (excluding sandbox) but few outside of it
Toggle Highlighting
SQL
SELECT raw.actor_name, COUNT(raw.rc_actor) AS total_contribs, SUM(raw.in_userspace) AS userspace_contribs FROM ( SELECT recentchanges_userindex.*, actor.actor_name, CASE WHEN recentchanges_userindex.rc_namespace IN (2,3) THEN 1 ELSE 0 END AS in_userspace FROM recentchanges_userindex JOIN actor ON recentchanges_userindex.rc_actor = actor.actor_id WHERE recentchanges_userindex.rc_type IN (0,1) AND recentchanges_userindex.rc_bot = 0 ORDER BY recentchanges_userindex.rc_timestamp DESC ) as raw GROUP BY raw.rc_actor LIMIT 100;
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...