Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,451–9,475 of 9,842

ticket, page 379 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
945130094513978905101
945230094527598425101
945330094534040515101
945430094544546645102
945530094554594745102
945630094562448285102
945730094578678775102
945830094583620475102
945930094597961725103
946030094606599985103
946130094612208555103
946230094624453085103
946330094637665985105
946430094648615665105
946530094655323205106
946630094664998925106
946730094674858115106
946830094685928245108
946930094695019005108
947030094701689465109
947130094710851495109
947230094724883055109
947330094736020315109
947430094746255465111
947530094750042065111
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;