Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,901–3,925 of 9,842

ticket, page 157 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
390130039017430192142
390230039020523892143
390330039036803962143
390430039047817102143
390530039055689022143
390630039062535752144
390730039079021412144
390830039088998002145
390930039093631962145
391030039108210762145
391130039114945492145
391230039120908342146
391330039131573742146
391430039143260302147
391530039155166222148
391630039168206152148
391730039172321672149
391830039184646312149
391930039196748232150
392030039202012292152
392130039212566782152
392230039222265312153
392330039233603772153
392430039246990302154
392530039253698782154
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;