Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,826–1,850 of 9,842

ticket, page 74 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
182630018261423351015
182730018274322931019
182830018280894731019
182930018297214801019
183030018307802441019
183130018319526391021
183230018323326721025
183330018337832501025
183430018344224581025
183530018352855541025
183630018368911711025
183730018377393741026
183830018387792251026
183930018395177311026
184030018402226891027
184130018413979731027
184230018425070031027
184330018430198921027
184430018446770291028
184530018453372781028
184630018462210281029
184730018476195531029
184830018484288111029
184930018490017911029
185030018504096131030
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;