Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,226–2,250 of 9,842

ticket, page 90 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
222630022269518781212
222730022273213541212
222830022288885331212
222930022292683731212
223030022309842251212
223130022315948501212
223230022324214531212
223330022337314711212
223430022345076691212
223530022351039981212
223630022360569551212
223730022371823551212
223830022382549221212
223930022391244851212
224030022401468681212
224130022418854571213
224230022427462381213
224330022435327091213
224430022442713211213
224530022452890591214
224630022463885361215
224730022471216261215
224830022481387921216
224930022498233811217
225030022503623221217
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;