good progress

This commit is contained in:
2021-05-23 16:55:57 +02:00
parent 90ea2174db
commit fb7ade79cb
12 changed files with 671 additions and 189 deletions

11
README.md Normal file
View File

@ -0,0 +1,11 @@
Populate player name (from most used one) after database is fully populated:
```SQL
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
);
```