Question: Which student visited restaurant most often? List student's first name and last name.
Schema: create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table student (id varchar, PRIMARY KEY (id))
SQL: select student.fname, student.lname from student join visits_restaurant on student.stuid = visits_restaurant.stuid group by student.stuid order by count(*) desc limit 1