Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 151–175 of 9,842

ticket, page 7 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
151300015174607351
152300015266746251
153300015341517551
154300015403927851
155300015557194051
156300015686380351
157300015768621552
158300015879320552
159300015969324052
160300016052301652
161300016157372952
162300016290358354
163300016308144055
164300016405838355
165300016513092356
166300016699710757
167300016766128057
168300016885615057
169300016972753157
170300017077801858
171300017127211258
172300017239884359
173300017376855359
174300017404423559
175300017574092759
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;