Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,076–2,100 of 9,842

ticket, page 84 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
207630020765270431148
207730020772220051148
207830020784385341148
207930020799933791149
208030020805586001149
208130020815099481149
208230020820071591149
208330020833478061150
208430020842618971154
208530020858864401154
208630020864937121157
208730020877853381160
208830020888558681160
208930020890202021162
209030020901626431164
209130020915404111164
209230020924513521164
209330020935802831165
209430020943217931165
209530020958743921165
209630020963462861166
209730020973231651166
209830020983990491166
209930020990326971166
210030021005106581167
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;