Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,101–8,125 of 9,842

ticket, page 325 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
810130081019299284334
810230081028791664336
810330081036500014336
810430081047276314337
810530081050239394338
810630081066288674338
810730081075355954339
810830081087027304339
810930081093041264341
811030081105636584341
811130081116835974342
811230081124439814342
811330081132077214342
811430081146424774342
811530081158860304343
811630081161246764343
811730081173876774344
811830081182904434344
811930081193565374345
812030081205204134345
812130081210313474345
812230081229103424347
812330081235622644347
812430081248087784349
812530081251269194349
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;