How would I manually run the below query, is there a way of doing it from within the admincp like on the other forum sw I came from?
Code:
TRUNCATE TABLE xf_user_trophy; UPDATE xf_user AS u SET u.trophy_points = ( SELECT SUM(t.trophy_points) FROM xf_user_trophy AS ut LEFT JOIN xf_trophy AS t ON (t.trophy_id = ut.trophy_id) WHERE ut.user_id = u.user_id );