Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 276–300 of 9,842

ticket, page 12 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
2763000276258130126
2773000277344951126
2783000278077467128
2793000279877553129
2803000280655423129
2813000281015714130
2823000282712134131
2833000283413177134
2843000284816342135
2853000285639771138
2863000286133801138
2873000287866594138
2883000288846832138
2893000289938551139
2903000290234517139
2913000291528442140
2923000292146952141
2933000293751031141
2943000294264462142
2953000295421477142
2963000296128398143
2973000297235340143
2983000298959562144
2993000299364729144
3003000300476259145
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;