Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,501–2,525 of 9,842

ticket, page 101 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
250130025016415771400
250230025024232041401
250330025031756391401
250430025049135401402
250530025054635671402
250630025067747151402
250730025074841871402
250830025085113461402
250930025093560391406
251030025103150171406
251130025115936901408
251230025120662761408
251330025137466861408
251430025146198361408
251530025154699731408
251630025161025691409
251730025175386651409
251830025183162801409
251930025192649131414
252030025202880061415
252130025213178321415
252230025227992261417
252330025235279611418
252430025241051661418
252530025257329911418
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;