This query is marked as a draft This query has been published by Edgars2007.

SQL

AخA
 
USE lvwiki_p;
SELECT LEAST(REPLACE(log_title,'_',' '),log_user_text), GREATEST(REPLACE(log_title,'_',' '), log_user_text), COUNT(*)
FROM logging
WHERE log_type="thanks"
GROUP BY 1, 2
ORDER BY 3 DESC
LIMIT 100;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...