Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 101–125 of 9,842

ticket, page 5 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
101300010194595134
102300010219688935
103300010382271638
104300010451970439
105300010584226939
106300010672552842
107300010729993544
108300010858413347
109300010945079647
110300011001092249
111300011120867649
112300011217026851
113300011323398351
114300011490756351
115300011535258151
116300011613271151
117300011748559451
118300011847312451
119300011927445451
120300012079957851
121300012146314251
122300012274362651
123300012300418951
124300012412263051
125300012548763551
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;