Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,901–1,925 of 9,842

ticket, page 77 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
190130019013450481055
190230019025201721055
190330019033018471055
190430019040360811055
190530019058957701055
190630019065497621055
190730019073539571055
190830019088503781055
190930019096760991055
191030019102523251055
191130019116608481055
191230019126156061055
191330019132800301055
191430019145117201055
191530019156212261055
191630019164451751055
191730019175685841055
191830019180254051055
191930019195654381055
192030019201026001055
192130019210624201055
192230019224196291055
192330019237074061055
192430019247502691055
192530019257716281055
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;