Skip to content
Louvre Ops DB

View

museum_visit

One row per admitted ticket: the first entry of its day, with the transport answer.

Rows 9,251–9,275 of 9,383

museum_visit, page 371 of 376
ticket_idINTEGERvisit_dateanyfirst_entry_atTEXTentrance_idINTEGERtransport_modeTEXT
97042020-01-212020-01-21 13:45:061Train
97052020-01-212020-01-21 13:44:301Train
97062020-01-212020-01-21 13:44:361Train
97072020-02-012020-02-01 11:22:001Metro
97082020-02-012020-02-01 11:22:441Metro
97112020-01-222020-01-22 09:49:294Bus
97122020-01-222020-01-22 14:26:062Metro
97132020-01-222020-01-22 14:25:482Metro
97142020-01-222020-01-22 13:17:111Walk
97152020-01-222020-01-22 13:17:131Walk
97162020-01-292020-01-29 13:56:152Train
97172020-01-232020-01-23 12:44:081Walk
97192020-01-232020-01-23 12:44:431Walk
97202020-01-232020-01-23 12:44:091Walk
97212020-01-232020-01-23 14:25:401Bus
97222020-01-232020-01-23 14:25:281Bus
97232020-01-292020-01-29 11:11:091Walk
97242020-01-292020-01-29 11:10:471Walk
97252020-01-292020-01-29 11:10:251Walk
97262020-01-252020-01-25 14:23:282Taxi
97272020-01-252020-01-25 14:23:412Taxi
97282020-01-252020-01-25 14:23:492Taxi
97292020-01-252020-01-25 14:23:392Taxi
97302020-01-252020-01-25 14:23:222Taxi
97312020-02-102020-02-10 15:45:493Walk
View definition
CREATE VIEW museum_visit AS
SELECT
  e.ticket_id,
  date(e.scanned_at) AS visit_date,
  e.scanned_at       AS first_entry_at,
  e.entrance_id,
  e.transport_mode
FROM entry_scan e
WHERE e.is_first_entry = 1;