[Data Correction]: When querying database to check for number of championships won by Hamilton, it returns 8 records with 2014 replaced by 2007 and 2010 added. #135
Replies: 2 comments 1 reply
-
Hey, I'm not able to help debug your SQL query but I think you have not limited the driverstandigs table to just the final race of each season. You can do this by checking the season field is not null. To help pin down this issue, could you please provide the years that are given that are incorrect and the points values? Thanks |
Beta Was this translation helpful? Give feedback.
-
Here is a corrected query, the points have already been aggregated.
In future I will likely not have the time to help with SQL like this, so please only report bugs in data that you can find on our exposed endpoints on api.jolpi.ca. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Endpoint
circuits, driverStandings
URL
n/a
What is the current Value?
What should the value be?
7 rows should be returned, for the following years: 2008,2014,2015,2017,2018,2019,2020
Description
Run this Postgres query:
Beta Was this translation helpful? Give feedback.
All reactions