Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,126–6,150 of 9,842

ticket, page 246 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
612630061268061203386
612730061277020513386
612830061289012963386
612930061291025623386
613030061300596063386
613130061319900373386
613230061324945343386
613330061337762153386
613430061348268593386
613530061357540543386
613630061362968823386
613730061373088233386
613830061389362873386
613930061394534013386
614030061405405733386
614130061413759243386
614230061423300063386
614330061435455703386
614430061447670203386
614530061452097803386
614630061465979853386
614730061476926973386
614830061482582273386
614930061491553003386
615030061509482703386
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;