Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Find most recent additions of labels by certain users in Bengali
by
Mahir256
This query is marked as a draft
This query has been published
by
Gnoeee
.
(forked code from Mahir. Modified as per requirement a little bit.)
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT current_date; SELECT actor_name as Username, COUNT(*) as Number_of_labels_added FROM ( SELECT actor_name, rc_title, comment_text FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id LEFT JOIN actor on actor.actor_id = recentchanges.rc_actor WHERE comment_text REGEXP 'wbsetlabel-add:1|ml' AND actor_name IN ('Gnoeee', 'Ranjithsiji', 'Adithyak1997', 'Akbarali') AND rc_timestamp >= 20200828183000 AND rc_timestamp < 20200831183000 AND rc_namespace = 0) as derivedtable GROUP BY actor_name ORDER BY Number_of_labels_added 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...