Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 87 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
215130021510008761202
215230021525409381202
215330021539171521202
215430021541305221202
215530021556661771202
215630021567862221202
215730021578262391202
215830021584947081202
215930021597469271202
216030021608243081202
216130021610865491202
216230021627058761202
216330021632022371202
216430021643755051202
216530021659040651202
216630021660061051202
216730021677104491202
216830021685536541202
216930021691834381202
217030021703732151202
217130021715926801202
217230021722666681202
217330021730464791202
217430021744262411202
217530021758659371202
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;