Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,601–1,625 of 9,842

ticket, page 65 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
16013001601435626887
16023001602787273888
16033001603584493888
16043001604417074889
16053001605449372889
16063001606129740891
16073001607504709891
16083001608614055894
16093001609794273894
16103001610621791895
16113001611402513896
16123001612272338896
16133001613681350896
16143001614629306897
16153001615850722897
16163001616841302897
16173001617762133897
16183001618414467898
16193001619628169899
16203001620437554899
16213001621685851900
16223001622133943900
16233001623338979901
16243001624448628901
16253001625023339903
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;