Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,476–9,500 of 9,842

ticket, page 380 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
947630094762174595112
947730094779511015112
947830094781895755114
947930094797514965115
948030094801079155116
948130094819546505116
948230094829904865116
948330094839156695116
948430094842607195119
948530094859699345119
948630094867449605119
948730094879100245121
948830094880980115122
948930094895886565122
949030094903664335122
949130094912084755123
949230094929796925123
949330094930319045124
949430094947809955125
949530094952863165126
949630094967363475126
949730094973643665128
949830094987611485128
949930094990846915128
950030095005200495128
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;