Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,776–1,800 of 9,842

ticket, page 72 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
17763001776460158980
17773001777778851980
17783001778401104984
17793001779175915985
17803001780302102985
17813001781503333987
17823001782430526990
17833001783322212990
17843001784571220990
17853001785707512993
17863001786975858993
17873001787302031994
17883001788631827995
17893001789572622995
17903001790692630995
17913001791446082996
17923001792037668996
17933001793790856996
17943001794073146998
17953001795301016998
17963001796195723998
17973001797505307998
179830017982207721001
179930017998642521002
180030018009908521002
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;