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 3,651–3,675 of 9,383

museum_visit, page 147 of 376
ticket_idINTEGERvisit_dateanyfirst_entry_atTEXTentrance_idINTEGERtransport_modeTEXT
38722017-05-062017-05-06 15:06:192Private Vehicle
38732017-05-052017-05-05 11:14:452Bus
38742017-05-052017-05-05 11:14:382Bus
38752017-05-052017-05-05 11:15:002Bus
38762017-05-052017-05-05 11:15:022Bus
38772017-05-022017-05-02 09:56:451Walk
38782017-05-022017-05-02 09:56:401Walk
38792017-05-022017-05-02 10:22:551Walk
38802017-05-062017-05-06 09:31:144Bus
38812017-05-062017-05-06 09:31:284Bus
38822017-05-062017-05-06 09:31:144Bus
38832017-05-062017-05-06 09:30:594Bus
38842017-05-062017-05-06 09:31:154Bus
38852017-05-042017-05-04 11:27:452Taxi
38862017-05-052017-05-05 11:09:415Bus
38872017-05-182017-05-18 11:26:093Metro
38882017-05-182017-05-18 11:25:523Metro
38892017-05-182017-05-18 11:25:483Metro
38902017-05-182017-05-18 11:25:303Metro
38912017-05-062017-05-06 15:07:192Metro
38922017-05-072017-05-07 16:32:321Metro
38932017-05-072017-05-07 16:32:591Metro
38942017-05-072017-05-07 16:33:001Metro
38952017-05-232017-05-23 12:28:181Metro
38962017-05-232017-05-23 12:28:391Metro
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;