Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,626–7,650 of 9,842

ticket, page 306 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
762630076261992104110
762730076279412904110
762830076284518564111
762930076292370294111
763030076300301094112
763130076316922784112
763230076320774474113
763330076338417114114
763430076342785924114
763530076358894304114
763630076365943994116
763730076378338064116
763830076388629474117
763930076391089884117
764030076406844314119
764130076411826724119
764230076421231324119
764330076434198644119
764430076448003944120
764530076454421864122
764630076468735554125
764730076477001624125
764830076489772674125
764930076497222764125
765030076502488334125
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;