Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 451–475 of 9,842

ticket, page 19 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
4513000451932319203
4523000452194219205
4533000453133018205
4543000454978866205
4553000455739441205
4563000456486065205
4573000457978685205
4583000458039923205
4593000459262783205
4603000460816659205
4613000461914316205
4623000462511740205
4633000463416486205
4643000464541448205
4653000465602349205
4663000466852245205
4673000467294154205
4683000468451972205
4693000469460580205
4703000470725351205
4713000471110763205
4723000472016572205
4733000473179439205
4743000474822110205
4753000475894256205
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;