You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

271 B

Populate player name (from most used one) after database is fully populated:

UPDATE `player` SET `name`=(
    SELECT `name`
    FROM `player_names`
    WHERE `player_names`.guid = `player`.guid
    GROUP BY guid, name
    ORDER BY MAX(`time`) DESC LIMIT 1
);