CREATE TABLE activity (actid NUMBER, activity_name CLOB)
CREATE TABLE faculty_participates_in (facid NUMBER, actid NUMBER)
CREATE TABLE faculty (facid NUMBER, lname CLOB, fname CLOB, rank CLOB, sex CLOB, phone NUMBER, room CLOB, building CLOB)
CREATE TABLE student (stuid NUMBER, lname CLOB, fname CLOB, age NUMBER, sex CLOB, major NUMBER, advisor NUMBER, city_code CLOB)
CREATE TABLE participates_in (stuid NUMBER, actid NUMBER)

What are the first name and last name of Linda Smith's advisor?
SELECT T1.fname, T1.lname FROM faculty AS T1 JOIN student AS T2 ON T1.facid = T2.advisor WHERE T2.fname = "Linda" AND T2.lname = "Smith"
SELECT "T1"."fname", "T1"."lname" FROM "faculty" "T1" JOIN "student" "T2" ON "Linda" = "T2"."fname" AND "Smith" = "T2"."lname" AND "T1"."facid" = "T2"."advisor"