Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 46 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
11263001126576073635
11273001127977953635
11283001128845733636
11293001129328594636
11303001130848270637
11313001131531876637
11323001132459699639
11333001133527333639
11343001134080674642
11353001135188178642
11363001136313920642
11373001137751726642
11383001138203059642
11393001139029473642
11403001140715510642
11413001141529859642
11423001142110746642
11433001143171094642
11443001144494839642
11453001145512904642
11463001146886875642
11473001147053549642
11483001148127814642
11493001149663463642
11503001150379969642
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;