Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,426–7,450 of 9,842

ticket, page 298 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
742630074269406904044
742730074270777364044
742830074282242534044
742930074293040984044
743030074304586954044
743130074315170454044
743230074321940654044
743330074336616334044
743430074343786424044
743530074359235654044
743630074360755364044
743730074378010284044
743830074388990834044
743930074391394094044
744030074403684764044
744130074413453374044
744230074427600844044
744330074433755354044
744430074449925144045
744530074457473414045
744630074461800914046
744730074473831534046
744830074483255264048
744930074493790894050
745030074500019054050
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;