Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,676–1,700 of 9,842

ticket, page 68 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
16763001676665331937
16773001677883375937
16783001678000710938
16793001679093680938
16803001680569568938
16813001681837416939
16823001682688710939
16833001683291623942
16843001684603642942
16853001685717960944
16863001686312019945
16873001687853144945
16883001688340319945
16893001689591869945
16903001690393825945
16913001691339014945
16923001692932829945
16933001693710140945
16943001694612923945
16953001695306479945
16963001696215202945
16973001697445240945
16983001698400191945
16993001699602449945
17003001700704600945
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;