diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/useful-sql.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/useful-sql.md b/docs/useful-sql.md index 32a8f5b..64de128 100644 --- a/docs/useful-sql.md +++ b/docs/useful-sql.md @@ -13,7 +13,7 @@ After importing ranking CSV to `temp_rankings`, copy to `rankings` with current ``` INSERT INTO rankings ( - SELECT pid, `date`, place, score, region, flags \ + SELECT pid, `date`, place, score, region, flags FROM temp_rankings JOIN players ON players.id = temp_rankings.pid |