-- DBMS: sqlite
CREATE TABLE parties (
    id INTEGER,
    case_id REAL,
    party_number INTEGER,
    party_type TEXT,
    at_fault INTEGER,
    party_sex TEXT,
    party_age REAL,
    party_sobriety TEXT,
    party_drug_physical TEXT,
    direction_of_travel TEXT,
    party_safety_equipment_1 TEXT,
    party_safety_equipment_2 TEXT,
    financial_responsibility TEXT,
    hazardous_materials REAL,
    cellphone_in_use REAL,
    cellphone_use_type TEXT,
    school_bus_related REAL,
    oaf_violation_code TEXT,
    oaf_violation_category TEXT,
    oaf_violation_section REAL,
    oaf_violation_suffix TEXT,
    other_associate_factor_1 TEXT,
    other_associate_factor_2 TEXT,
    party_number_killed INTEGER,
    party_number_injured INTEGER,
    movement_preceding_collision TEXT,
    vehicle_year REAL,
    vehicle_make TEXT,
    statewide_vehicle_type TEXT,
    chp_vehicle_type_towing TEXT,
    chp_vehicle_type_towed TEXT,
    party_race TEXT
);

INSERT INTO parties (id, case_id, party_number, party_type, at_fault, party_sex, party_age, party_sobriety, party_drug_physical, direction_of_travel, party_safety_equipment_1, party_safety_equipment_2, financial_responsibility, hazardous_materials, cellphone_in_use, cellphone_use_type, school_bus_related, oaf_violation_code, oaf_violation_category, oaf_violation_section, oaf_violation_suffix, other_associate_factor_1, other_associate_factor_2, party_number_killed, party_number_injured, movement_preceding_collision, vehicle_year, vehicle_make, statewide_vehicle_type, chp_vehicle_type_towing, chp_vehicle_type_towed, party_race) VALUES (7582512, 90085478.0, 1, 'driver', 1, 'female', 62.0, 'had not been drinking', NULL, 'south', 'air bag not deployed', 'lap/shoulder harness used', 'proof of insurance obtained', NULL, 0.0, 'cellphone not in use', NULL, NULL, NULL, NULL, NULL, 'none apparent', NULL, 0, 0, 'changing lanes', 2015.0, 'nissan', 'passenger car', 'passenger car, station', NULL, NULL), (7065595, 8813440.0, 2, 'driver', 0, 'male', 21.0, 'had not been drinking', NULL, 'east', 'air bag not deployed', 'lap/shoulder harness used', 'proof of insurance obtained', NULL, 0.0, 'cellphone not in use', NULL, NULL, NULL, NULL, NULL, 'none apparent', NULL, 0, 1, 'proceeding straight', 2016.0, 'hyundai', 'passenger car', 'passenger car, station', NULL, 'hispanic'), (437132, 3816730.0, 2, 'driver', 0, 'male', 20.0, 'had not been drinking', NULL, 'south', 'air bag not deployed', 'lap/shoulder harness used', 'proof of insurance obtained', NULL, 0.0, 'cellphone not in use', NULL, NULL, NULL, NULL, NULL, 'none apparent', NULL, 0, 0, 'proceeding straight', 1998.0, 'toyota', 'pickup or panel truck', 'pickups & panels', '00', 'white'), (6007940, 3220709.0, 2, 'driver', 0, 'male', 52.0, 'had not been drinking', NULL, 'north', 'air bag not deployed', 'lap/shoulder harness used', 'proof of insurance obtained', NULL, 0.0, 'cellphone not in use', NULL, NULL, NULL, NULL, NULL, 'none apparent', NULL, 0, 1, 'proceeding straight', 2002.0, 'bmw', NULL, NULL, '00', 'other'), (782041, 4007536.0, 1, 'driver', 1, 'female', 19.0, 'had not been drinking', NULL, 'south', 'air bag not deployed', 'lap/shoulder harness used', 'proof of insurance obtained', NULL, 0.0, 'cellphone not in use', NULL, NULL, NULL, NULL, NULL, 'none apparent', NULL, 0, 0, 'changing lanes', 1994.0, 'toyota', 'passenger car', 'passenger car, station', '00', 'white');