Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 651–675 of 9,842

ticket, page 27 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
6513000651118454295
6523000652633448295
6533000653910204295
6543000654356845297
6553000655687349298
6563000656873496300
6573000657945549301
6583000658036932301
6593000659900579304
6603000660379234304
6613000661565659304
6623000662195782304
6633000663746485310
6643000664576430310
6653000665514803310
6663000666143071310
6673000667110904311
6683000668072336311
6693000669583461311
6703000670840411311
6713000671848927311
6723000672548473312
6733000673363406312
6743000674039053312
6753000675975479312
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;