Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,051–1,075 of 9,842

ticket, page 43 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
10513001051946495591
10523001052801356596
10533001053921876596
10543001054240914596
10553001055765264597
10563001056028933598
10573001057024615598
10583001058462720600
10593001059034787600
10603001060102568600
10613001061006786600
10623001062466702601
10633001063259540601
10643001064322257602
10653001065205386604
10663001066043042604
10673001067320154609
10683001068054801612
10693001069572226613
10703001070679034616
10713001071305988616
10723001072406231617
10733001073924612617
10743001074461803620
10753001075337908620
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;