Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,501–8,525 of 9,842

ticket, page 341 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
850130085012632944597
850230085021629854599
850330085030239554600
850430085041774024601
850530085052478224602
850630085068451844604
850730085072689934605
850830085081155154607
850930085090831724608
851030085103673374611
851130085113151294611
851230085121864474612
851330085132655044613
851430085143744464613
851530085150445474614
851630085164720594614
851730085179198424615
851830085183928354617
851930085195572634617
852030085201700444619
852130085216363264619
852230085224662834619
852330085232800364621
852430085242893914621
852530085259474354621
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;