Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,876–3,900 of 9,842

ticket, page 156 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
387630038766482462126
387730038776198922127
387830038781837642127
387930038799197512128
388030038804040292130
388130038813304082130
388230038822727082130
388330038832313752130
388430038842655722130
388530038852108602132
388630038867283522133
388730038874485842135
388830038886076162135
388930038892863712135
389030038907717602135
389130038914123022138
389230038929426552139
389330038939985922139
389430038949326552139
389530038952249982140
389630038960333982140
389730038975286772141
389830038985148992141
389930038999119502141
390030039007948502141
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;