Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,651–3,675 of 9,842

ticket, page 147 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
365130036519393242006
365230036528918842006
365330036533292862006
365430036549589552006
365530036559069072006
365630036562567392006
365730036577180442006
365830036585008512006
365930036594800552006
366030036609843712006
366130036611646542006
366230036623334672006
366330036636898512006
366430036643681832006
366530036653271392006
366630036668430722006
366730036675604262006
366830036682071962006
366930036698030222006
367030036705672252006
367130036712711122006
367230036722096672006
367330036730522442006
367430036742619752006
367530036750897362006
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;