Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 376–400 of 9,842

ticket, page 16 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
3763000376892337180
3773000377995816180
3783000378469199180
3793000379223874180
3803000380087570180
3813000381770569180
3823000382926847180
3833000383466598180
3843000384972089180
3853000385172056180
3863000386568797180
3873000387273981180
3883000388761320180
3893000389248053180
3903000390367206180
3913000391241114180
3923000392948336180
3933000393654407180
3943000394268822180
3953000395650133180
3963000396372470180
3973000397498439180
3983000398452546180
3993000399994616180
4003000400469020180
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;