Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,501–1,525 of 9,842

ticket, page 61 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
15013001501430488810
15023001502377152811
15033001503400184812
15043001504632694813
15053001505309158813
15063001506954012813
15073001507108246815
15083001508796876816
15093001509509603818
15103001510648784818
15113001511826407818
15123001512696790820
15133001513552603820
15143001514880355822
15153001515485437823
15163001516972104823
15173001517298248824
15183001518825013824
15193001519105178824
15203001520565958824
15213001521141105825
15223001522593159825
15233001523826891826
15243001524705603826
15253001525422774827
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;