Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 353 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
880130088017293734802
880230088021765284802
880330088030750254802
880430088040871524802
880530088058874234803
880630088066228684803
880730088075712494803
880830088080102654804
880930088096973224804
881030088104351834805
881130088113886054805
881230088122123684805
881330088130977564805
881430088140826354805
881530088153615114806
881630088165406924806
881730088171891114807
881830088183050864807
881930088194740534807
882030088207049724808
882130088219626764808
882230088228832674810
882330088238667614810
882430088246198894812
882530088257795704812
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;