Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,976–5,000 of 9,842

ticket, page 200 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
497630049763323052778
497730049778511022778
497830049787493222778
497930049797541892779
498030049804074942779
498130049814326602780
498230049828785162780
498330049838956782780
498430049844258692780
498530049858760892780
498630049866480972781
498730049870009842781
498830049886206152782
498930049891634132782
499030049900756972784
499130049919684362784
499230049926400162785
499330049937337622786
499430049940687612786
499530049955632942786
499630049967452022786
499730049973767712786
499830049987916522786
499930049997105682786
500030050005745862786
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;