DataBrighten

    Sample car sales data

    1,000 × 13rows × columns in the 1,000-row file

    Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.

    textnumberdateyes/no
    Largest file10,000rows; also 100 and 1,000
    Columns13with a data dictionary below
    Dates2024-01-01 – 2024-12-31range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one car sold in 2024 by a fictional five-location dealer group: dealership, salesperson, new or used, body type, fuel, model year, mileage, sticker price, agreed price, financing and trade-in. No real brands or dealers.

    More practice tables like this one: all 14 newer sample datasets.

    First rows

    point at a column to light it up

    sale_idtextsale_datedatedealershiptextsalespersontextconditiontextbody_typetextfueltextmodel_yearnumbermileagenumberlist_pricenumbersale_pricenumberfinancingtexttrade_inyes/no
    CS520012024-04-01Airport RoadLinda KhanUsedSUVGas20161064001220011700LoanFALSE
    CS520022024-09-15NorthsideCharles NelsonUsedSUVGas201411030098009700LoanFALSE
    CS520032024-04-04DowntownPatricia MitchellNewMinivanGas2025274050039300LoanFALSE
    CS520042024-08-09NorthsideStephanie MitchellUsedCoupeGas2020602001970018100CashFALSE
    CS520052024-06-26RiversideSamuel BrownUsedSUVGas20161178001140010900CashTRUE
    CS520062024-09-05Airport RoadStephanie LewisNewSUVGas2024224340043500CashTRUE
    CS520072024-09-18DowntownJames AllenNewMinivanGas2025374200041600LoanFALSE
    CS520082024-11-23RiversideAmanda KimNewPickupElectric202445750057300LoanFALSE
    CS520092024-09-01DowntownMichelle SmithNewSedanGas2024293250031500CashFALSE
    CS520102024-10-01NorthsideWilliam HarrisUsedSUVGas2018805001810017600LoanFALSE

    Revenue by body type

    USD, 1,000-row file

    SUV$10,882,200Pickup$8,390,600Sedan$4,712,600Minivan$2,218,600Hatchback$1,811,300Coupe$1,189,500
    Show as a table
    body_typevalue
    SUV$10,882,200
    Pickup$8,390,600
    Sedan$4,712,600
    Minivan$2,218,600
    Hatchback$1,811,300
    Coupe$1,189,500
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    sale_idtextSale number
    sale_datedateSale date (2024)
    dealershiptextFictional dealership location
    salespersontextFictional salesperson
    conditiontextNew or Used
    body_typetextSedan, SUV, Pickup, Hatchback, Minivan or Coupe
    fueltextGas, Hybrid or Electric
    model_yearintegerModel year
    mileageintegerOdometer at sale (miles)
    list_priceintegerSticker or asking price (USD, fictional)
    sale_priceintegerAgreed price (USD)
    financingtextCash, Loan or Lease

    Practice questions

    answers checked in SQL and in Python

    Revenue by dealership?

    Downtown $6,185,800; Northside $6,065,700; Airport Road $5,826,900; Riverside $5,795,600; Westgate $5,330,800

    Excel

    =SUMIFS(K:K,C:C,"Downtown")

    SQL

    SELECT dealership, SUM(sale_price) AS rev FROM car_sales GROUP BY dealership ORDER BY rev DESC, dealership

    File: car-sales-1000

    Average discount (list minus sale price) for new and used cars?

    Used $957.04; New $814.81

    SQL

    SELECT condition, ROUND(AVG(list_price - sale_price),2) AS d FROM car_sales GROUP BY condition ORDER BY d DESC

    File: car-sales-1000

    Top 3 salespeople by cars sold?

    William Harris 47; James Smith 43; Michelle Smith 42

    SQL

    SELECT salesperson, COUNT(*) AS n FROM car_sales GROUP BY salesperson ORDER BY n DESC, salesperson LIMIT 3

    File: car-sales-1000