Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 501–525 of 9,842

ticket, page 21 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
5013000501916596206
5023000502093784207
5033000503405733207
5043000504195643208
5053000505399764210
5063000506660442214
5073000507402051215
5083000508304807217
5093000509385246217
5103000510116569218
5113000511061960219
5123000512118802219
5133000513020270219
5143000514854623221
5153000515380625221
5163000516760225221
5173000517572082221
5183000518110649222
5193000519043860223
5203000520879082223
5213000521051300223
5223000522072722223
5233000523771045224
5243000524977237225
5253000525277911225
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;