Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,026–5,050 of 9,842

ticket, page 202 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
502630050260871702786
502730050274117962786
502830050288604122786
502930050297243162786
503030050302715532786
503130050312064802786
503230050329681872787
503330050338185432787
503430050346516752790
503530050351593342793
503630050368869812793
503730050373276252794
503830050383720822796
503930050399250382797
504030050402686612798
504130050419095562798
504230050425566592800
504330050434191342800
504430050443325132803
504530050452023632804
504630050461808462805
504730050470971692806
504830050486434792806
504930050491769682806
505030050509840932806
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;