Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 626–650 of 9,842

ticket, page 26 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
6263000626532897276
6273000627897969276
6283000628769713276
6293000629961795276
6303000630346427277
6313000631639754277
6323000632758129278
6333000633309276279
6343000634194721279
6353000635280960280
6363000636895149280
6373000637129405283
6383000638633083285
6393000639634054287
6403000640297964288
6413000641778677288
6423000642945315288
6433000643406012289
6443000644301150289
6453000645241830289
6463000646316533289
6473000647938977290
6483000648875939290
6493000649976958294
6503000650135367295
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;