Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 476–500 of 9,842

ticket, page 20 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
4763000476911193205
4773000477637959205
4783000478929936205
4793000479875503205
4803000480017237205
4813000481200978205
4823000482540765205
4833000483844794205
4843000484898543205
4853000485996467205
4863000486202587205
4873000487221405205
4883000488977423205
4893000489806617205
4903000490788020205
4913000491462327205
4923000492220155205
4933000493245159205
4943000494319458205
4953000495461977205
4963000496998032205
4973000497781940205
4983000498700876206
4993000499291003206
5003000500551619206
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;