Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,951–3,975 of 9,842

ticket, page 159 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
395130039511771122171
395230039525870572173
395330039536077202176
395430039547918042176
395530039557314732179
395630039569156372179
395730039572217752180
395830039583953232180
395930039597677012180
396030039603859622182
396130039618839522182
396230039620940092185
396330039639220652185
396430039643627032185
396530039655625642186
396630039662948442186
396730039679813572186
396830039683777362186
396930039698744862188
397030039704547572188
397130039719669702188
397230039721297392189
397330039739291912189
397430039747752362190
397530039754418562192
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;