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,351–9,375 of 9,383

museum_visit, page 375 of 376
ticket_idINTEGERvisit_dateanyfirst_entry_atTEXTentrance_idINTEGERtransport_modeTEXT
98072020-02-242020-02-24 11:57:111Bus
98082020-02-242020-02-24 11:56:551Bus
98092020-02-242020-02-24 11:56:411Bus
98102020-02-242020-02-24 11:56:421Bus
98112020-02-172020-02-17 12:03:162Train
98122020-02-182020-02-18 14:00:021Taxi
98132020-02-162020-02-16 15:17:453Metro
98142020-02-172020-02-17 09:15:431Metro
98152020-02-172020-02-17 09:15:471Metro
98162020-02-172020-02-17 13:44:161Walk
98172020-02-172020-02-17 13:44:001Walk
98182020-02-172020-02-17 13:44:271Walk
98192020-02-192020-02-19 12:50:221Train
98202020-02-192020-02-19 12:49:391Train
98212020-02-192020-02-19 12:50:231Train
98222020-02-192020-02-19 12:49:591Train
98232020-02-192020-02-19 12:50:161Train
98242020-02-232020-02-23 14:42:081Other
98252020-02-232020-02-23 14:42:451Other
98262020-02-232020-02-23 14:42:421Other
98272020-02-232020-02-23 14:42:301Other
98282020-02-192020-02-19 16:33:262Metro
98292020-02-192020-02-19 16:33:202Metro
98302020-02-202020-02-20 10:56:314Walk
98312020-02-222020-02-22 09:52:492Bus
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;