Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 226–250 of 9,842

ticket, page 10 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
226300022691832085
227300022701412987
228300022850227687
229300022983856788
230300023055042789
231300023175703690
232300023236940590
233300023367393091
234300023402747491
235300023510259193
236300023626794093
237300023785035796
238300023825204396
239300023915787696
240300024092571598
241300024181115399
242300024216029999
2433000243926815100
2443000244714197100
2453000245903996100
2463000246940898100
2473000247760138103
2483000248698111103
2493000249401990103
2503000250118977103
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;