Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,201–4,225 of 9,842

ticket, page 169 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
420130042010906212343
420230042021967302343
420330042030456972343
420430042042989082343
420530042050420962343
420630042064805082343
420730042078252002343
420830042081108322343
420930042099994862343
421030042103555192343
421130042118931992343
421230042120869742343
421330042137364692343
421430042145812792343
421530042156127712343
421630042160956442343
421730042172452822343
421830042182854892343
421930042190525142343
422030042202339972343
422130042210265302343
422230042228297962343
422330042234669122343
422430042241314282343
422530042257664812343
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;