Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,601–8,625 of 9,842

ticket, page 345 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
860130086014384164676
860230086020103254676
860330086033477444676
860430086042427884676
860530086055218744676
860630086068176674676
860730086072081954676
860830086084138044676
860930086095396724676
861030086104607044676
861130086118446164676
861230086128522924676
861330086134063794676
861430086147655474676
861530086153275894676
861630086160969884676
861730086175068414676
861830086185391924676
861930086193180764676
862030086201478714676
862130086215620864676
862230086224934744676
862330086231850494676
862430086247625354676
862530086257266564676
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;