Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,376–5,400 of 9,842

ticket, page 216 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
537630053769576962997
537730053776071193000
537830053780874663000
537930053799708913000
538030053808791513000
538130053815411103000
538230053829000433000
538330053838800103000
538430053847213503000
538530053855415503000
538630053866151503000
538730053876702793000
538830053880169023000
538930053898264533000
539030053907593753000
539130053919136953000
539230053929230393000
539330053931630163000
539430053947182163000
539530053952387843000
539630053966695293000
539730053975029123000
539830053983613363000
539930053990853183000
540030054007042263000
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;