Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Student WHERE Fname = "Linda" AND LName = "Smith"
Feedback: Make sure to find number of rows of visits restaurant for which Restaurant's restaurant id equals Subway .
Output (English): SELECT count(*) 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"