Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 676–700 of 9,842

ticket, page 28 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
6763000676394401317
6773000677608676317
6783000678186716317
6793000679466800318
6803000680146600318
6813000681278856319
6823000682046365319
6833000683550422319
6843000684884333321
6853000685275999321
6863000686726385324
6873000687056883324
6883000688265996328
6893000689684493328
6903000690276686328
6913000691087559328
6923000692946025329
6933000693011780330
6943000694422086330
6953000695313216331
6963000696751878331
6973000697034133333
6983000698858251333
6993000699868399333
7003000700682609333
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;