Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 76–100 of 9,842

ticket, page 4 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
76300007672733614
77300007713275114
78300007869925315
79300007929970915
80300008065497316
81300008116805117
82300008215220118
83300008371247920
84300008400225920
85300008539046020
86300008699538221
87300008778504922
88300008802267223
89300008975149423
90300009040188125
91300009164890327
92300009250906127
93300009352029831
94300009431901431
95300009531168631
96300009683054631
97300009716153432
98300009862536433
99300009920389033
100300010072103734
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;