DataBrighten

    Sample customer 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
    Dates2019-01-03 – 2024-12-28range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one fictional customer account: contact details on reserved example domains and 555-01xx numbers, city, signup date, segment, orders so far, lifetime spend and whether they ordered in 2024.

    First rows

    point at a column to light it up

    customer_idtextfirst_nametextlast_nametextemailtextphonetextcitytextstatetextsignup_datedatesegmenttexttotal_ordersnumbertotal_spentnumberlast_order_datedateis_activeyes/no
    CU10001RyanJacksonryan.jackson0@example.com(212) 555-0190OmahaNE2019-08-30Small Business713532019-11-23FALSE
    CU10002MichaelChenmichael.chen@example.com(617) 555-0184HartfordCT2019-05-21Consumer2174.92024-09-30TRUE
    CU10003DavidNelsondavid.nelson@example.com(206) 555-0147ChicagoIL2024-12-26Consumer3245.052024-12-28TRUE
    CU10004SofiaRamirezsofia.ramirez@example.com(617) 555-0195NashvilleTN2024-04-26Consumer2115.312024-12-05TRUE
    CU10005LauraTorreslaura.torres@example.com(305) 555-0176CharlotteNC2023-12-26Consumer3259.432024-05-08TRUE
    CU10006RyanDavisryan.davis@example.com(206) 555-0158MinneapolisMN2021-07-03Consumer4264.532023-01-26FALSE
    CU10007RebeccaSanchezrebecca.sanchez@example.com(305) 555-0179AtlantaGA2024-04-03Consumer191.52024-05-24TRUE
    CU10008BarbaraRamirezbarbara.ramirez7@example.com(512) 555-0113AustinTX2024-04-14Enterprise2214129.962024-12-28TRUE
    CU10009MichaelWhitemichael.white@example.com(702) 555-0188DenverCO2019-02-13Consumer7651.352023-09-07FALSE
    CU10010JenniferHilljennifer.hill@example.com(212) 555-0167Los AngelesCA2022-05-21Consumer3144.812023-10-26FALSE

    Customers by segment

    customers, 1,000-row file

    Consumer718Small Business211Enterprise71
    Show as a table
    segmentvalue
    Consumer718
    Small Business211
    Enterprise71
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    customer_idtextCustomer number
    first_nametextFictional first name
    last_nametextFictional last name
    emailtextEmail (example.com, not real)
    phonetextFictional number in the 555-01xx range reserved for fiction
    citytextCity
    statetextTwo-letter state code
    signup_datedateAccount created (2019-2024)
    segmenttextConsumer, Small Business or Enterprise
    total_ordersintegerOrders placed so far
    total_spentdecimalLifetime spend (USD)
    last_order_datedateMost recent order (blank if none)

    Practice questions

    answers checked in SQL and in Python

    How many customers are active (ordered in 2024)?

    469 of 1,000

    Excel

    =COUNTIF(M:M,TRUE)

    SQL

    SELECT COUNT(*) FROM customers WHERE is_active

    File: customers-1000

    Average lifetime spend by segment?

    Enterprise $13,507.62; Small Business $1,866.74; Consumer $377.45

    Excel

    =AVERAGEIF(I:I,"Enterprise",K:K)

    SQL

    SELECT segment, ROUND(AVG(total_spent),2) AS avg_spent FROM customers GROUP BY segment ORDER BY avg_spent DESC

    File: customers-1000

    Which state has the most customers?

    CA (151), TX (123), NY (102)

    SQL

    SELECT state, COUNT(*) AS n FROM customers GROUP BY state ORDER BY n DESC, state LIMIT 3

    File: customers-1000