Question: Show all advisors who have at least two students.
Schema: create table student (advisor varchar, PRIMARY KEY (advisor))
SQL: select advisor from student group by advisor having count(*) >= 2