Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,201–1,225 of 9,842

ticket, page 49 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
12013001201704434666
12023001202185740669
12033001203999041669
12043001204409077669
12053001205242265669
12063001206318792669
12073001207271735669
12083001208777550669
12093001209223407669
12103001210309203669
12113001211915041669
12123001212857143669
12133001213129101669
12143001214428344669
12153001215894709669
12163001216139205669
12173001217723556669
12183001218346763669
12193001219953963669
12203001220942877669
12213001221392392669
12223001222267373669
12233001223294006669
12243001224599414669
12253001225871597669
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;