Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,001–7,025 of 9,842

ticket, page 281 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
700130070010650733829
700230070026097053829
700330070035734403830
700430070041727453832
700530070054891313835
700630070063615023835
700730070071081043837
700830070083131843837
700930070093604733837
701030070106597453837
701130070118490393838
701230070127577633838
701330070131995323838
701430070144816253840
701530070154523213840
701630070168506393840
701730070174596213841
701830070186546793842
701930070199099313843
702030070201742973843
702130070219639393843
702230070226755633846
702330070238524783846
702430070247643543848
702530070252570243848
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;