Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,426–2,450 of 9,842

ticket, page 98 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
242630024263735321350
242730024277767441350
242830024282760121350
242930024292360931351
243030024307062281351
243130024313604431351
243230024326531691353
243330024336971271353
243430024342928511353
243530024355428361353
243630024360977721355
243730024374093851355
243830024388364361355
243930024399095451356
244030024404292561356
244130024419160871357
244230024421065001357
244330024436438231359
244430024444151771359
244530024456984851361
244630024467999741362
244730024476303201363
244830024487021711364
244930024499517801366
245030024505021111367
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;