Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,526–1,550 of 9,842

ticket, page 62 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
15263001526651377827
15273001527849675829
15283001528965617830
15293001529125370830
15303001530906291834
15313001531244760834
15323001532173593835
15333001533066120836
15343001534334089836
15353001535722762837
15363001536322940837
15373001537225458837
15383001538917266837
15393001539750706837
15403001540732153838
15413001541018276839
15423001542309097839
15433001543783014840
15443001544486582841
15453001545178694841
15463001546879023842
15473001547123460842
15483001548757678842
15493001549643424845
15503001550767152846
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;