Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,076–8,100 of 9,842

ticket, page 324 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
807630080764798704311
807730080775067624312
807830080786051234313
807930080796571354313
808030080803333194313
808130080814082964316
808230080820027794317
808330080830085384319
808430080842061264319
808530080853708844321
808630080867259534322
808730080871984834323
808830080888768994324
808930080890962414324
809030080902921154325
809130080916567444325
809230080927343404325
809330080935725624328
809430080942637624328
809530080956171634329
809630080966925974329
809730080975973334331
809830080987239454331
809930080999585754333
810030081004913354333
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;