Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,651–7,675 of 9,842

ticket, page 307 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
765130076510111624127
765230076520334364128
765330076534807694128
765430076548716774129
765530076553610654129
765630076560265674130
765730076577246144133
765830076580975364133
765930076594020644134
766030076609834834135
766130076613065824135
766230076629434224135
766330076631001424135
766430076646855404135
766530076655696364135
766630076665847754135
766730076673673474135
766830076682630084135
766930076695594224135
767030076709876584135
767130076717951694135
767230076727330694135
767330076734385614135
767430076743991144135
767530076755631234135
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;