Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 701–725 of 9,842

ticket, page 29 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
7013000701572409333
7023000702140627334
7033000703724602334
7043000704547458334
7053000705068680335
7063000706856169337
7073000707392733337
7083000708042604337
7093000709170897338
7103000710882020338
7113000711550772338
7123000712440459339
7133000713455808339
7143000714759345341
7153000715543837345
7163000716712747345
7173000717089040348
7183000718328814352
7193000719864893353
7203000720232113353
7213000721180043355
7223000722459479357
7233000723880603357
7243000724553988357
7253000725242629358
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;