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 rc_actor as Username, COUNT(*) as Number_of_labels_added FROM ( SELECT rc_actor, rc_title, comment_text FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id WHERE comment_text REGEXP 'wbsetlabel-add:1|ml' AND rc_actor IN ('Gnoeee', 'Ranjithsiji', 'Adhitya1997', 'Akbarali') AND rc_timestamp >= 20200801183000 AND rc_timestamp < 2020082983000 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...