Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
বাংলা উইকিপিডিয়ায় সম্পাদনা পরীক্ষার পরিসংখ্যান
by
MdsShakil
This query is marked as a draft
This query has been published
by
MdsShakil
.
Toggle Highlighting
SQL
use bnwiki_p; SELECT user_name user, count(*) as thanks_cnt FROM logging JOIN actor ON log_actor = actor_id JOIN user ON actor_user = user_id WHERE log_type = 'thanks' AND log_action IN ('thanks', 'approve2', 'approve-i', 'approve2-i') #AND log_timestamp > CONCAT( YEAR( DATE_SUB( NOW(), INTERVAL 6000 DAY ) ), LPAD( MONTH( DATE_SUB( NOW(), INTERVAL 30 DAY ) ), 2, '0'), LPAD( DAY( DATE_SUB( NOW(), INTERVAL 6000 DAY ) ), 2, '0'), '000000' ) GROUP BY user_name ORDER BY thanks_cnt 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...