Question: List pairs of the owner's first name and the dogs's name.
Schema: create table dogs (name varchar, owner_id varchar, PRIMARY KEY (name)); create table owners (first_name varchar, owner_id varchar, PRIMARY KEY (first_name))
SQL: select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id