Show the ids of students whose advisors are professors.
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  =  "Professor"
[{'StuID': 1001}, {'StuID': 1002}, {'StuID': 1005}, {'StuID': 1006}, {'StuID': 1008}, {'StuID': 1011}, {'StuID': 1012}, {'StuID': 1017}, {'StuID': 1018}, {'StuID': 1020}, {'StuID': 1024}, {'StuID': 1025}, {'StuID': 1026}, {'StuID': 1027}]