The practice data

Every lesson queries Brightdesk, a made-up software company, from January to June 2026. Think of it as a workbook with seven sheets. Nothing here is real.

customers 420 rows · one row per customer

Everyone who signed up: name, country, signup date, and how they found us (acquisition_channel).

Columns: id, name, email, country, signup_date, acquisition_channel

idnameemailcountrysignup_dateacquisition_channel
1Kavya Haddadkavya.haddad334@example.comUnited States2026-01-01social
2Ben Kimben.kim404@example.comIndia2026-01-01partner
3Kavya Kimkavya.kim283@example.comIndia2026-01-02organic_search
4Nikhil Tanakanikhil.tanaka266@example.comNigeria2026-01-05referral
5Elena Nguyenelena.nguyen194@example.comUnited Kingdom2026-01-06social

subscriptions 299 rows · one row per paid plan

Who pays and how much each month (mrr). cancelled_at is empty while the plan is active. An upgrade ends one row and starts another.

Columns: id, customer_id, plan, mrr, started_at, cancelled_at

idcustomer_idplanmrrstarted_atcancelled_at
13pro792026-01-03empty
25pro792026-01-11empty
36pro792026-01-102026-03-11
47pro792026-01-17empty
510starter292026-01-21empty

events 4914 rows · one row per thing someone did

Product usage: signed_up, login, created_report, shared_report, invited_teammate, with the date it happened.

Columns: id, customer_id, event_name, event_date

idcustomer_idevent_nameevent_date
11signed_up2026-01-01
22signed_up2026-01-01
33signed_up2026-01-02
42login2026-01-05
53login2026-01-05

orders 600 rows · one row per order

A small online store: what was bought (product_id), how many, when, and in which region.

Columns: id, order_date, customer_id, product_id, quantity, region

idorder_datecustomer_idproduct_idquantityregion
12026-01-0136911Latin America
22026-01-0126813North America
32026-01-0111021Latin America
42026-01-0211822Europe
52026-01-0232314Asia Pacific

products 8 rows · a lookup table

Eight products with their category and unit_price. Orders point at it by product_id.

Columns: id, name, category, unit_price

idnamecategoryunit_price
1Desk LampOffice39
2Standing DeskFurniture449
3Ergo ChairFurniture329
4Monitor ArmOffice89
5Notebook PackStationery12

campaigns 24 rows · one row per channel per month

Marketing spend per acquisition channel per month (month looks like 2026-03).

Columns: id, month, channel, spend

idmonthchannelspend
12026-01paid_search3580
22026-01social2420
32026-01partner1420
42026-01referral490
52026-02paid_search3640

tickets 520 rows · one row per support ticket

Support work: opened_at, closed_at (empty if still open), priority and the agent who handled it.

Columns: id, customer_id, opened_at, closed_at, priority, agent

idcustomer_idopened_atclosed_atpriorityagent
122026-01-18 16:002026-01-18 21:48normalDiego
212026-01-19 20:002026-01-22 14:04lowDiego
3112026-01-28 03:002026-01-30 17:45lowDiego
4462026-01-31 11:002026-02-02 10:53lowChloe
562026-01-31 22:002026-02-03 00:11lowDiego