Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,551–4,575 of 9,842

ticket, page 183 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
455130045517611562532
455230045526762952532
455330045531952472535
455430045548124322536
455530045556551902536
455630045568071982536
455730045579905442536
455830045583384582536
455930045590263252537
456030045607166142537
456130045611327712537
456230045621315862539
456330045639347472540
456430045648192602540
456530045658638632542
456630045661777242542
456730045675053702543
456830045688685722543
456930045695163652543
457030045708087742545
457130045713537802546
457230045723553792546
457330045736001832547
457430045742475122547
457530045754735942547
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;