Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 251–275 of 9,842

ticket, page 11 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
2513000251276889103
2523000252333092104
2533000253172086104
2543000254599941105
2553000255513673106
2563000256350429108
2573000257709861108
2583000258321155109
2593000259231969109
2603000260384371112
2613000261656646112
2623000262325703115
2633000263364771115
2643000264137472115
2653000265244120115
2663000266643441118
2673000267274196119
2683000268343974120
2693000269991680120
2703000270561230123
2713000271114309124
2723000272753361124
2733000273946329124
2743000274323582124
2753000275032894126
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;