Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,026–9,050 of 9,842

ticket, page 362 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
902630090265132254888
902730090273467734888
902830090282906954888
902930090299811784888
903030090302998664888
903130090314447724888
903230090324011074888
903330090337682044888
903430090341168244888
903530090352999524888
903630090362166654888
903730090379823444888
903830090382101234888
903930090397304944888
904030090400401814888
904130090416616744888
904230090420380544888
904330090439459114888
904430090443875174888
904530090457711264888
904630090468497414888
904730090470135424888
904830090487627174888
904930090490163864888
905030090501418904888
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;