Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,726–1,750 of 9,842

ticket, page 70 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
17263001726508453945
17273001727106060945
17283001728585054945
17293001729880916945
17303001730274024945
17313001731938183945
17323001732454200948
17333001733294556949
17343001734224240949
17353001735002552951
17363001736278762951
17373001737305783953
17383001738090314954
17393001739023344954
17403001740108775954
17413001741362510956
17423001742803999956
17433001743026400958
17443001744018963959
17453001745901012959
17463001746181376959
17473001747957605959
17483001748990599959
17493001749321692960
17503001750743832961
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;