Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,476–2,500 of 9,842

ticket, page 100 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
247630024762364121388
247730024775338931388
247830024780740551388
247930024799016661388
248030024800042101389
248130024816696061389
248230024825486291390
248330024836080131390
248430024848020451391
248530024858232731391
248630024866946251392
248730024876860751392
248830024881912361392
248930024897879691393
249030024907133981394
249130024918234421394
249230024925782711394
249330024935543781395
249430024949215011395
249530024955818481396
249630024960902921396
249730024976197671400
249830024980923191400
249930024993358971400
250030025001003641400
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;