Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,051–8,075 of 9,842

ticket, page 323 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
805130080515462074302
805230080529528984302
805330080539915724302
805430080549136534302
805530080557833724302
805630080561261384303
805730080576412294304
805830080581267554304
805930080598924724304
806030080602232274304
806130080613954274306
806230080627920254306
806330080637370404307
806430080641762694307
806530080657542864307
806630080666013044307
806730080674775954308
806830080687838134308
806930080698233964308
807030080702710344308
807130080717082694309
807230080723554044309
807330080734802924311
807430080744557984311
807530080757438744311
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;