Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 209 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
520130052011971282847
520230052026902232847
520330052038514262847
520430052046411712853
520530052053995682855
520630052060839372855
520730052071064252855
520830052086489582857
520930052090078452857
521030052100708792857
521130052117624332857
521230052121312152858
521330052137262942858
521430052149593762861
521530052152023532861
521630052162162022864
521730052176693932865
521830052185149382866
521930052199418382866
522030052203019402867
522130052218450872867
522230052226732472869
522330052233346712869
522430052245235822869
522530052259029632869
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;