Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,176–1,200 of 9,842

ticket, page 48 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
11763001176516736643
11773001177627247644
11783001178364047646
11793001179530595647
11803001180273067647
11813001181856079648
11823001182223154648
11833001183333293649
11843001184793645649
11853001185793615650
11863001186133852652
11873001187579766652
11883001188615016653
11893001189428579653
11903001190387991655
11913001191280666657
11923001192065840657
11933001193167221658
11943001194314438659
11953001195299608659
11963001196593702661
11973001197759251661
11983001198349000661
11993001199334214661
12003001200380350663
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;