Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 196 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
487630048767744642701
487730048779385512702
487830048783574352702
487930048795842572705
488030048806128512705
488130048811062902707
488230048826270312707
488330048837824932707
488430048847323822707
488530048850869312708
488630048860556722708
488730048870093762709
488830048889019812710
488930048894055222710
489030048907579922712
489130048911500102712
489230048929645672714
489330048939116532715
489430048943056602715
489530048954219682716
489630048965867142716
489730048973018932717
489830048984711072719
489930048999070612719
490030049000623682720
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;