Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 223 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
555130055515069923097
555230055522297513098
555330055532664313098
555430055548457903098
555530055554505703101
555630055564820373101
555730055575133753103
555830055589912543104
555930055592244553104
556030055603189993104
556130055613444453105
556230055629531023107
556330055635186823107
556430055642355153108
556530055657461803108
556630055663501463108
556730055670469813108
556830055687575963108
556930055699809253111
557030055708235723112
557130055711454483112
557230055728657483113
557330055734907043114
557430055741496713115
557530055752713623115
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;