Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 801–825 of 9,842

ticket, page 33 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
8013000801100393415
8023000802936505415
8033000803605663415
8043000804840817416
8053000805387914418
8063000806364280420
8073000807773375420
8083000808423970421
8093000809707805421
8103000810018654422
8113000811353940422
8123000812081773423
8133000813026518423
8143000814634493424
8153000815455032425
8163000816768413425
8173000817302376426
8183000818103344427
8193000819300099427
8203000820075016427
8213000821207176428
8223000822580722428
8233000823472378429
8243000824641694429
8253000825100620431
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;