Update to TD Records and new cars

This commit is contained in:
Jan-Peter von Hunnius 2025-02-13 08:18:05 +01:00
parent 5783bb4826
commit 2fa2966aaa
7 changed files with 526 additions and 1 deletions

8
bestCarForTrack.sql Normal file
View file

@ -0,0 +1,8 @@
SELECT rq, brand, onlyName, year, configuration, time
FROM car_track_times t
JOIN cars c ON t.car_rid = c.rid
WHERE track_id = 'Mountain Twisty Road'
AND track_type = 'Wet'
AND rq <= 90
ORDER BY CAST(t.time AS DECIMAL) ASC
LIMIT 1;