Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 168 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
417630041767536712326
417730041779198342326
417830041781045942327
417930041798417522327
418030041800845132328
418130041811313592329
418230041826908172330
418330041831676302330
418430041841212652331
418530041854251902331
418630041861783472332
418730041874258172334
418830041884065072334
418930041896280642334
419030041903070322334
419130041913379692334
419230041926448632335
419330041939087702340
419430041946064492341
419530041958738782341
419630041968312892343
419730041977341142343
419830041980401122343
419930041990582272343
420030042007047722343
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;