Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,801–5,825 of 9,842

ticket, page 233 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
580130058013167443240
580230058022740593241
580330058032233073244
580430058047027023244
580530058057123503244
580630058063062613244
580730058074332023245
580830058083531673245
580930058093257263249
581030058109030093251
581130058114516563252
581230058124152363252
581330058132883923253
581430058147339933253
581530058151962393254
581630058166519993254
581730058177589833256
581830058184011373257
581930058193160173259
582030058207270243259
582130058213296893260
582230058228102003261
582330058235942333264
582430058244051563264
582530058255996103266
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;