Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,076–5,100 of 9,842

ticket, page 204 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
507630050765802382817
507730050773920492817
507830050785059602817
507930050793127952817
508030050800576262817
508130050811109622817
508230050822224152817
508330050830092632817
508430050843366632817
508530050857027652817
508630050861713732817
508730050876347312817
508830050881086002817
508930050897248392817
509030050907055832817
509130050918774012817
509230050925564452817
509330050935823142817
509430050949392542817
509530050952388312817
509630050968624052817
509730050973471122817
509830050984422652817
509930050998787552817
510030051004447552817
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;