Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,576–1,600 of 9,842

ticket, page 64 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
15763001576113991864
15773001577449558864
15783001578883511868
15793001579162081871
15803001580739623872
15813001581230034873
15823001582905525875
15833001583229953876
15843001584267374876
15853001585598446877
15863001586948379878
15873001587953866878
15883001588093833878
15893001589556473878
15903001590130994880
15913001591281350882
15923001592651453882
15933001593331015882
15943001594303704883
15953001595315548883
15963001596911036883
15973001597779022883
15983001598105009884
15993001599516125885
16003001600828647885
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;