Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,476–1,500 of 9,842

ticket, page 60 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
14763001476017553810
14773001477423122810
14783001478880306810
14793001479757498810
14803001480795820810
14813001481129275810
14823001482277323810
14833001483966253810
14843001484966164810
14853001485997223810
14863001486147659810
14873001487908054810
14883001488992136810
14893001489739279810
14903001490047642810
14913001491652066810
14923001492348594810
14933001493140013810
14943001494322255810
14953001495310324810
14963001496935279810
14973001497777021810
14983001498122541810
14993001499744390810
15003001500964439810
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;