Question: Which owner owns the most dogs? List the owner id, first name and last name.
Schema: create table owners (first_name varchar, last_name varchar, owner_id varchar, PRIMARY KEY (first_name)); create table dogs (owner_id varchar, PRIMARY KEY (owner_id))
SQL: select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1