Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,551–1,575 of 9,842

ticket, page 63 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
15513001551902628847
15523001552537255847
15533001553030500848
15543001554429579848
15553001555104640851
15563001556277998851
15573001557804111851
15583001558275139851
15593001559807060852
15603001560640772854
15613001561654682854
15623001562638631856
15633001563910175856
15643001564510225856
15653001565452362856
15663001566749526858
15673001567450802860
15683001568333357861
15693001569900523861
15703001570077814861
15713001571033570861
15723001572202515861
15733001573332203862
15743001574996286863
15753001575518490864
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;