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
Maximilianklein
.
Toggle Highlighting
SQL
create temporary table plwiki_p.mk_pl_thank_users as select user_id, user_name from plwiki_p.user users join (select distinct uname from ( select log_title as uname from plwiki_p.logging where log_type = 'thanks' union select log_user_text as uname from plwiki_p.logging where log_type = 'thanks') send_and_rec) thank on users.user_name = thank.uname
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...