Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,426–4,450 of 9,842

ticket, page 178 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
442630044269981762478
442730044279551892478
442830044284632272478
442930044297849212478
443030044300851672478
443130044316222612478
443230044329600742478
443330044334120132478
443430044341675892478
443530044351916712478
443630044367839342478
443730044370129092478
443830044386848192478
443930044391885562478
444030044405156012478
444130044410573492478
444230044428635382478
444330044431560622478
444430044444325082478
444530044457333722478
444630044462924932478
444730044473921702478
444830044486588452478
444930044497781402478
445030044507172372478
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;