Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,251–1,275 of 9,842

ticket, page 51 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
12513001251793973669
12523001252623233669
12533001253314399670
12543001254161062671
12553001255718489673
12563001256646848673
12573001257188270673
12583001258229153673
12593001259801822673
12603001260412923674
12613001261521260675
12623001262387141675
12633001263244731678
12643001264127637678
12653001265526366679
12663001266091499679
12673001267274822680
12683001268237531680
12693001269113076680
12703001270847651680
12713001271731370680
12723001272838257681
12733001273135403681
12743001274324569683
12753001275001100683
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;