Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,626–6,650 of 9,842

ticket, page 266 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
662630066262149233651
662730066274749253651
662830066281332323651
662930066292386673651
663030066302878293651
663130066310789533651
663230066328954893651
663330066334825163651
663430066347909233651
663530066358919583651
663630066367034513651
663730066379662483651
663830066386769163651
663930066397595933651
664030066408791383651
664130066410723933651
664230066425777173651
664330066436067973651
664430066440673413651
664530066457238773651
664630066461759583651
664730066470333233651
664830066480788393651
664930066493183293651
665030066503597503651
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;