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
Swagoel
.
Toggle Highlighting
SQL
use metawiki_p; select A.log_actor as User_ID, B.actor_name as Actor_Name, coalesce(A.num_thanks, 0) as Thanks from (select actor_id, actor_name from actor where (actor_name like '%(WMF)%')) as B left join (select log_actor, log_timestamp, count(log_actor) as num_thanks from logging_userindex where (log_action = 'thank' and log_type='thanks' and log_timestamp < timestamp('2020-01-01') and log_timestamp >= timestamp('2019-01-01')) group by log_actor) as A on B.actor_id = A.log_actor order by Thanks
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...