mirror of
https://github.com/OpenFusionProject/scripts.git
synced 2024-11-26 07:10:06 +00:00
Compare commits
1 Commits
0203ad29cf
...
7d2e0c29e0
Author | SHA1 | Date | |
---|---|---|---|
|
7d2e0c29e0 |
@ -77,12 +77,10 @@ def fetch_my_ranks(pcuid, epid, date):
|
||||
RaceResults.PlayerID,
|
||||
Players.FirstName,
|
||||
Players.LastName,
|
||||
RaceResults.Score
|
||||
MAX(RaceResults.Score) AS MaxScore
|
||||
FROM RaceResults
|
||||
INNER JOIN Players ON RaceResults.PlayerID=Players.PlayerID
|
||||
WHERE RaceResults.PlayerID=? AND EPID=? AND DATETIME(Timestamp, 'unixepoch') > DATETIME('now', ?)
|
||||
ORDER BY RaceResults.Score DESC
|
||||
LIMIT 1;
|
||||
WHERE RaceResults.PlayerID=? AND EPID=? AND DATETIME(Timestamp, 'unixepoch') > DATETIME('now', ?);
|
||||
"""
|
||||
|
||||
args = (pcuid, epid, date)
|
||||
|
Loading…
Reference in New Issue
Block a user