Linda Smith ไปที่ Subway เมื่อใด?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
When did Linda Smith visit Subway?It is not neccessary to use all the tables.
 Restaurant:  (TIME [ VARCHAR) ]
SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway"