Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,376–2,400 of 9,842

ticket, page 96 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
237630023767668551311
237730023776140321313
237830023785979531313
237930023791281851314
238030023804119231314
238130023819912881314
238230023824173621316
238330023837261041316
238430023847435921316
238530023859152291316
238630023860705021318
238730023872365051319
238830023887492781319
238930023896407581319
239030023906618061320
239130023919347311321
239230023922884401321
239330023931507881322
239430023948920001322
239530023959609191322
239630023966120741324
239730023970479321325
239830023988171961327
239930023990957731327
240030024004573641327
Table definition
CREATE TABLE ticket (
  ticket_id INTEGER PRIMARY KEY,
  barcode   TEXT NOT NULL UNIQUE CHECK (length(barcode) = 13 AND barcode NOT GLOB '*[^0-9]*'),
  order_id  INTEGER NOT NULL REFERENCES purchase_order (order_id)
) STRICT;