Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,276–1,300 of 9,842

ticket, page 52 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
12763001276542989685
12773001277164991685
12783001278070819685
12793001279987200687
12803001280735096688
12813001281606234688
12823001282632398688
12833001283992331688
12843001284374069688
12853001285687583690
12863001286333777691
12873001287371030692
12883001288182769692
12893001289013361692
12903001290131978696
12913001291554114697
12923001292961748697
12933001293735745697
12943001294465440697
12953001295718901701
12963001296196331701
12973001297678262702
12983001298144364702
12993001299543884707
13003001300016581709
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;