Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,001–9,025 of 9,842

ticket, page 361 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
900130090014230174873
900230090026610934873
900330090035540904873
900430090044739774873
900530090052129364873
900630090066040404873
900730090070281784873
900830090085780054873
900930090098149964877
901030090109405174877
901130090115723534878
901230090129813734883
901330090130744664883
901430090144143694885
901530090159432204885
901630090166736134885
901730090176429844885
901830090180402684885
901930090198718994886
902030090204775864886
902130090218330614886
902230090225994034886
902330090231161944887
902430090247328244887
902530090252507954887
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;