Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,676–7,700 of 9,842

ticket, page 308 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
767630076767953944135
767730076773167494135
767830076789013474135
767930076797427534135
768030076803435004135
768130076817149704135
768230076827533454135
768330076838464224135
768430076845179504135
768530076856181124135
768630076869473954135
768730076870363254135
768830076886601084135
768930076891553514135
769030076904316504135
769130076913325784135
769230076922757344135
769330076930765114135
769430076943690864135
769530076959265434135
769630076967071944135
769730076975877214135
769830076987649304135
769930076993130284135
770030077000129344135
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;