Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 951–975 of 9,842

ticket, page 39 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
9513000951209243516
9523000952577168516
9533000953312001518
9543000954303976518
9553000955663299521
9563000956588467521
9573000957954070521
9583000958987670523
9593000959508403523
9603000960750833523
9613000961629039523
9623000962699683524
9633000963669517526
9643000964321607527
9653000965091253528
9663000966707785528
9673000967611161528
9683000968412120529
9693000969833258529
9703000970678812529
9713000971504734531
9723000972030732533
9733000973192841533
9743000974414648534
9753000975842761536
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;