Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,151–1,175 of 9,842

ticket, page 47 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
11513001151672934642
11523001152804454642
11533001153023587642
11543001154368243642
11553001155590305642
11563001156802675642
11573001157145108642
11583001158515976642
11593001159354501642
11603001160904732642
11613001161148932642
11623001162288380642
11633001163907037642
11643001164038605642
11653001165555514642
11663001166072221642
11673001167416602642
11683001168090961642
11693001169361743642
11703001170471121642
11713001171128006642
11723001172499885642
11733001173669706642
11743001174811304642
11753001175319739643
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;