Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,426–1,450 of 9,842

ticket, page 58 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
14263001426219635778
14273001427839666779
14283001428856642779
14293001429910411781
14303001430933140781
14313001431153935781
14323001432267910783
14333001433793643784
14343001434624050784
14353001435188449784
14363001436919259784
14373001437012139785
14383001438581405785
14393001439364286785
14403001440340877785
14413001441878642786
14423001442252240787
14433001443282007787
14443001444130613787
14453001445106616787
14463001446463012787
14473001447533322788
14483001448892504790
14493001449044527792
14503001450949633792
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;