Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 401–425 of 9,842

ticket, page 17 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
4013000401215630180
4023000402973128180
4033000403080350180
4043000404714762180
4053000405695102180
4063000406417158180
4073000407902456180
4083000408901126180
4093000409185635180
4103000410433774180
4113000411744194180
4123000412882071180
4133000413171907180
4143000414454285180
4153000415970610180
4163000416268557180
4173000417838469180
4183000418182863180
4193000419162293180
4203000420686443183
4213000421787291183
4223000422982101186
4233000423099295188
4243000424144549188
4253000425520136189
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;