Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 976–1,000 of 9,842

ticket, page 40 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
9763000976393460537
9773000977491057537
9783000978545343537
9793000979626759538
9803000980240603538
9813000981064175538
9823000982337463538
9833000983550868539
9843000984736980539
9853000985198067541
9863000986024412541
9873000987118192543
9883000988909865544
9893000989439082545
9903000990857065547
9913000991598468548
9923000992773262550
9933000993638884550
9943000994191088550
9953000995613273550
9963000996995097551
9973000997054689551
9983000998799196551
9993000999475260553
10003001000709712554
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;