SELECT T2.StuID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T1.rank  =  "Professor"
Which students have professors as their advisors? Find their student ids.
SELECT T2.StuID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE T1.rank = `` Professor ''
select t2 . stuid from faculty as t1 join student as t2 on t1 . facid = t2 . advisor where t1 . rank = value
Which students have professors as their advisors ? Find their student ids .