Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,176–2,200 of 9,842

ticket, page 88 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
217630021769780011202
217730021770484761202
217830021780654381202
217930021796324191202
218030021800014131202
218130021814267511202
218230021821071491202
218330021830463341202
218430021848604111202
218530021857145551202
218630021863622121202
218730021876992891202
218830021885984701202
218930021890184581202
219030021901364371202
219130021917779691202
219230021928629991202
219330021936624781202
219430021945635571202
219530021952566671202
219630021966650351202
219730021979854311202
219830021988003061204
219930021997881011204
220030022007206741206
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;