Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 102 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
252630025261056961418
252730025273607441418
252830025283691351420
252930025298078961420
253030025304868841421
253130025312258721421
253230025324700291422
253330025331631071422
253430025341910211424
253530025353232961425
253630025368498551425
253730025370017641426
253830025382893331426
253930025394243331427
254030025407502651427
254130025413265411429
254230025424407651429
254330025432545011430
254430025444096411430
254530025450049051431
254630025460786361431
254730025472422281432
254830025480025421433
254930025494195791433
255030025504776851434
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;