Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,851–3,875 of 9,842

ticket, page 155 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
385130038519025252110
385230038529471712111
385330038533978982111
385430038541620452112
385530038552916172113
385630038563982652114
385730038570031012114
385830038580872132114
385930038595234612114
386030038605446152114
386130038615061142115
386230038620681402115
386330038633722582115
386430038644079072115
386530038650576372120
386630038664580842120
386730038674401242122
386830038684872602122
386930038697317692122
387030038700985822123
387130038719810212123
387230038727554522124
387330038737850732126
387430038744758162126
387530038759917132126
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;