Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 301–325 of 9,842

ticket, page 13 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
3013000301448735145
3023000302873044146
3033000303411387146
3043000304641224146
3053000305905939147
3063000306564691148
3073000307652147148
3083000308996836149
3093000309768496149
3103000310157289151
3113000311797506151
3123000312804554151
3133000313194341151
3143000314558502151
3153000315571154153
3163000316529346153
3173000317096673154
3183000318843139155
3193000319947402156
3203000320284248157
3213000321189860157
3223000322218249158
3233000323963585158
3243000324690037158
3253000325284937158
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;