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
Tanay barisha
.
উইকিপিডিয়ার এমন নিবন্ধ যার উইকিউপাত্তে লেবেল নেই
Toggle Highlighting
SQL
#USE wikidatawiki_p; #SELECT * #FROM recentchanges #LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id #WHERE ( # comment_text REGEXP 'wbsetdescription-(add|set|remove)...(bn)' #OR comment_text REGEXP 'wbsetlabel-(add|set|remove)...(bn)' #OR comment_text REGEXP 'wbsetalias-(add|set|remove)...(bn)' #OR comment_text REGEXP 'wbsetsitelink-(add|set|remove)...(bn)' #OR comment_text REGEXP 'clientsitelink-(update|remove)..(bn)' #) #ORDER BY rc_id desc LIMIT 500; #USE wikidatawiki_p; #SELECT rc_user_text, # count(comment_text) as added #FROM recentchanges #LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id #WHERE comment_text REGEXP 'wbsetlabel-add...bn' #AND rc_user_text IN ('Titodutta', 'Bodhisattwa', 'Pinakpani', 'খাঁ শুভেন্দু', 'Tanay barisha', 'ZI Jony', 'Tarunsamanta') #AND rc_timestamp >= 20181105183000 #AND rc_namespace = 0 #group by rc_user_text #order by rc_user_text; USE wikidatawiki_p; SELECT current_date; SELECT * ##rc_user_text as Username, COUNT(*) as Number_of_labels_added FROM ( ##SELECT rc_user_text, ## rc_title, comment_text # count(comment_text) as added FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id #WHERE comment_text REGEXP 'wbsetlabel-add...bn' WHERE ( comment_text REGEXP 'wbsetlabel-add...bn' OR comment_text REGEXP 'wbsetdescription-add...bn' OR comment_text REGEXP 'wbsetalias-add...bn' ) AND rc_user_text IN ('Mahir256', 'Titodutta', 'Bodhisattwa', 'Pinakpani', 'খাঁ শুভেন্দু', 'Tanay barisha', 'ZI Jony', 'Tarunsamanta', 'Marajozkee') AND rc_timestamp >= 20181105183000 AND rc_namespace = 0) as derivedtable ## GROUP BY rc_user_text ORDER BY Number_of_labels_added desc; group by rc_user_text order by added;
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...