Question: How much time was spent at Subway?
SQL: SELECT  sum ( Visits_Restaurant.Spent )  FROM Visits_Restaurant JOIN Restaurant ON Visits_Restaurant.ResID  =  Restaurant.ResID WHERE Restaurant.ResName = "Subway"