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
Herzi Pinki
.
count WD edits by user
Toggle Highlighting
SQL
#use dewiki_p; use wikidatawiki_p; #describe wb_changes; #describe comment; #select comment_text from comment where comment_text like "%Bild, BW erfüllt%" #limit 20; # change_revision_id change_user_id #select * from comment #where comment.comment_text like "/* wbcreateclaim-create:1| */ [[Property:P18]]:%" #limit 100; set @start:=20190531220000; # since then set @end:=20190601000000; # until then SELECT /* SLOW_OK */ DISTINCT actor_name AS user, COUNT(page.page_id) as obj_count FROM actor, /*user_groups,*/ comment, revision, page WHERE revision.rev_timestamp >= @start and revision.rev_timestamp <= @end AND actor.actor_id = revision.rev_actor and revision.rev_page = page.page_id and revision.rev_comment_id = comment.comment_id and comment.comment_text like "/* wbcreateclaim-create:1| */ [[Property:P18]]:%" GROUP BY user ORDER BY obj_count DESC limit 200;
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...