Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,876–2,900 of 9,842

ticket, page 116 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
287630028768469911635
287730028777413491637
287830028784890501637
287930028793162651638
288030028803637601638
288130028818265041638
288230028829160231639
288330028834158091639
288430028844043041641
288530028851419341641
288630028868840981641
288730028872020601642
288830028889827361642
288930028896483721643
289030028905203961643
289130028915453541643
289230028923933131643
289330028930089691645
289430028944849791645
289530028951342361645
289630028962311381645
289730028974955021646
289830028987831741646
289930028998372691646
290030029007861001646
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;