Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 601–625 of 9,842

ticket, page 25 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
6013000601417431250
6023000602365744252
6033000603644399255
6043000604750941255
6053000605868610257
6063000606560592258
6073000607970438259
6083000608976053260
6093000609069440260
6103000610958045261
6113000611555773264
6123000612141170265
6133000613323363265
6143000614824129265
6153000615445583267
6163000616712781270
6173000617788366270
6183000618174019270
6193000619937059270
6203000620927763273
6213000621206710273
6223000622993656274
6233000623764363274
6243000624703754275
6253000625484106275
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;