Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 876–900 of 9,842

ticket, page 36 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
8763000876060966464
8773000877219857465
8783000878436682465
8793000879834042465
8803000880057692466
8813000881552130466
8823000882165047466
8833000883690752466
8843000884125417469
8853000885832118469
8863000886370565469
8873000887642069470
8883000888652599470
8893000889610282474
8903000890336112474
8913000891947681475
8923000892498836475
8933000893631602476
8943000894781789476
8953000895657752478
8963000896848715478
8973000897491355479
8983000898230914480
8993000899625387480
9003000900604986481
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;