Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,701–1,725 of 9,842

ticket, page 69 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
17013001701622688945
17023001702259831945
17033001703001740945
17043001704347740945
17053001705949805945
17063001706833035945
17073001707065731945
17083001708016876945
17093001709131213945
17103001710063725945
17113001711879786945
17123001712293513945
17133001713568572945
17143001714462365945
17153001715058147945
17163001716666394945
17173001717078657945
17183001718953509945
17193001719868395945
17203001720239582945
17213001721789471945
17223001722741505945
17233001723210354945
17243001724750462945
17253001725356310945
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;