Question: Find the name of the students who have more than one advisor?
Schema: create table student (name varchar, id varchar, PRIMARY KEY (name)); create table advisor (s_id varchar, PRIMARY KEY (s_id))
SQL: select t1.name from student as t1 join advisor as t2 on t1.id = t2.s_id group by t2.s_id having count(*) > 1