Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 326–350 of 9,842

ticket, page 14 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
3263000326317571158
3273000327767807159
3283000328272904161
3293000329454790161
3303000330704953161
3313000331112181165
3323000332185926167
3333000333724728167
3343000334377731167
3353000335973585167
3363000336723268168
3373000337795617168
3383000338132983168
3393000339956722171
3403000340365390171
3413000341780834172
3423000342757541172
3433000343102946173
3443000344917749173
3453000345541326173
3463000346150251173
3473000347901252173
3483000348273939174
3493000349847533176
3503000350156386176
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;