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

Who is the advisor of Linda Smith? Give me the first name and last name.
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" AS "T1" JOIN "student" AS "T2" ON "Linda" = "T2"."fname" AND "Smith" = "T2"."lname" AND "T1"."facid" = "T2"."advisor"