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 1,051–1,075 of 9,383

museum_visit, page 43 of 376
ticket_idINTEGERvisit_dateanyfirst_entry_atTEXTentrance_idINTEGERtransport_modeTEXT
11202015-10-132015-10-13 13:25:264Bus
11212015-10-132015-10-13 13:21:114Bus
11222015-10-132015-10-13 13:21:174Bus
11232015-10-132015-10-13 13:26:114Bus
11242015-10-132015-10-13 13:20:564Bus
11252015-10-132015-10-13 13:22:434Bus
11262015-09-272015-09-27 14:58:005Bus
11272015-09-272015-09-27 14:58:315Bus
11282015-09-182015-09-18 10:39:421Walk
11292015-09-182015-09-18 10:39:181Walk
11302015-09-192015-09-19 11:01:072Train
11312015-09-192015-09-19 11:01:102Train
11322015-09-162015-09-16 11:38:471Metro
11332015-09-162015-09-16 11:39:081Metro
11342015-11-102015-11-10 09:46:304Other
11352015-11-102015-11-10 09:46:404Other
11362015-11-102015-11-10 09:46:444Other
11372015-11-102015-11-10 09:47:034Other
11392015-11-102015-11-10 09:46:504Other
11402015-11-102015-11-10 09:47:354Other
11412015-11-102015-11-10 09:46:544Other
11422015-11-102015-11-10 09:46:584Other
11432015-11-102015-11-10 09:47:424Other
11442015-11-102015-11-10 09:47:244Other
11452015-11-102015-11-10 09:48:504Other
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;