SQL
AخA
SELECT concat(actor_name, ' -> ', log_title) couple, count(*)
FROM logging
JOIN actor ON actor_id = log_actor
WHERE log_type="thanks" AND (actor_name = "ԱշոտՏՆՂ" OR log_title = "ԱշոտՏՆՂ" OR actor_name = "Աշոտ1997" OR log_title = "Աշոտ1997")
GROUP BY couple
ORDER BY count(*) DESC
LIMIT 1000
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.