Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,276–3,300 of 9,842

ticket, page 132 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
327630032769761231797
327730032777641221797
327830032789590261797
327930032796484941797
328030032800374281797
328130032818175011797
328230032824718081797
328330032833154331797
328430032840826741797
328530032853980261797
328630032869366151797
328730032876681891797
328830032883006811797
328930032892372741797
329030032902444701797
329130032917552681797
329230032921545211797
329330032933136841797
329430032943347731797
329530032952367161797
329630032960428671797
329730032976555561797
329830032989236011797
329930032990805701797
330030033006994371797
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;