Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,101–1,125 of 9,842

ticket, page 45 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
11013001101514271634
11023001102088876634
11033001103764530634
11043001104290083634
11053001105068437634
11063001106930815634
11073001107775617634
11083001108616201634
11093001109474728634
11103001110119479634
11113001111014353634
11123001112584441634
11133001113176966634
11143001114617501634
11153001115450272634
11163001116836860634
11173001117084380634
11183001118303866634
11193001119471598634
11203001120690484634
11213001121129473634
11223001122888670634
11233001123142720634
11243001124625760634
11253001125982292634
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;