Formula 1 Race Data
Race data from 1950 to present
@kaggle.jtrotman_formula_1_race_data
Race data from 1950 to present
@kaggle.jtrotman_formula_1_race_data
CREATE TABLE circuits (
"circuitid" BIGINT,
"circuitref" VARCHAR,
"name" VARCHAR,
"location" VARCHAR,
"country" VARCHAR,
"lat" DOUBLE,
"lng" DOUBLE,
"alt" BIGINT,
"url" VARCHAR
);
CREATE TABLE constructors (
"constructorid" BIGINT,
"constructorref" VARCHAR,
"name" VARCHAR,
"nationality" VARCHAR,
"url" VARCHAR
);
CREATE TABLE constructor_results (
"constructorresultsid" BIGINT,
"raceid" BIGINT,
"constructorid" BIGINT,
"points" DOUBLE,
"status" VARCHAR
);
CREATE TABLE constructor_standings (
"constructorstandingsid" BIGINT,
"raceid" BIGINT,
"constructorid" BIGINT,
"points" DOUBLE,
"position" BIGINT,
"positiontext" VARCHAR,
"wins" BIGINT
);
CREATE TABLE drivers (
"driverid" BIGINT,
"driverref" VARCHAR,
"number" VARCHAR,
"code" VARCHAR,
"forename" VARCHAR,
"surname" VARCHAR,
"dob" TIMESTAMP,
"nationality" VARCHAR,
"url" VARCHAR
);
CREATE TABLE driver_standings (
"driverstandingsid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"points" DOUBLE,
"position" BIGINT,
"positiontext" VARCHAR,
"wins" BIGINT
);
CREATE TABLE lap_times (
"raceid" BIGINT,
"driverid" BIGINT,
"lap" BIGINT,
"position" BIGINT,
"time" VARCHAR,
"milliseconds" BIGINT
);
CREATE TABLE pit_stops (
"raceid" BIGINT,
"driverid" BIGINT,
"stop" BIGINT,
"lap" BIGINT,
"time" VARCHAR,
"duration" VARCHAR,
"milliseconds" BIGINT
);
CREATE TABLE qualifying (
"qualifyid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"constructorid" BIGINT,
"number" BIGINT,
"position" BIGINT,
"q1" VARCHAR,
"q2" VARCHAR,
"q3" VARCHAR
);
CREATE TABLE races (
"raceid" BIGINT,
"year" BIGINT,
"round" BIGINT,
"circuitid" BIGINT,
"name" VARCHAR,
"date" TIMESTAMP,
"time" VARCHAR,
"url" VARCHAR,
"fp1_date" VARCHAR,
"fp1_time" VARCHAR,
"fp2_date" VARCHAR,
"fp2_time" VARCHAR,
"fp3_date" VARCHAR,
"fp3_time" VARCHAR,
"quali_date" VARCHAR,
"quali_time" VARCHAR,
"sprint_date" VARCHAR,
"sprint_time" VARCHAR
);
CREATE TABLE results (
"resultid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"constructorid" BIGINT,
"number" VARCHAR,
"grid" BIGINT,
"position" VARCHAR,
"positiontext" VARCHAR,
"positionorder" BIGINT,
"points" DOUBLE,
"laps" BIGINT,
"time" VARCHAR,
"milliseconds" VARCHAR,
"fastestlap" VARCHAR,
"rank" VARCHAR,
"fastestlaptime" VARCHAR,
"fastestlapspeed" VARCHAR,
"statusid" BIGINT
);
CREATE TABLE seasons (
"year" BIGINT,
"url" VARCHAR
);
CREATE TABLE sprint_results (
"resultid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"constructorid" BIGINT,
"number" BIGINT,
"grid" BIGINT,
"position" VARCHAR,
"positiontext" VARCHAR,
"positionorder" BIGINT,
"points" BIGINT,
"laps" BIGINT,
"time" VARCHAR,
"milliseconds" VARCHAR,
"fastestlap" VARCHAR,
"fastestlaptime" VARCHAR,
"statusid" BIGINT
);
CREATE TABLE status (
"statusid" BIGINT,
"status" VARCHAR
);
Anyone who has the link will be able to view this.