SELECT sum(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith";
How long does student Linda Smith spend on the restaurant in total?
SELECT sum ( Spent ) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = `` Linda '' AND Student.Lname = `` Smith '' ;
select sum ( spent ) from student join visits_restaurant on student.stuid = visits_restaurant.stuid where student.fname = value and student.lname = value
How long does student Linda Smith spend on the restaurant in total ?