an><span class="punctuation">;</span>
  <span class="function">select</span><span class="punctuation">(</span><span class="string">'owners'</span><span class="punctuation">,</span> <span class="string">'name'</span><span class="punctuation">)</span><span class="punctuation">.</span><span class="function">as</span><span class="punctuation">(</span><span class="string">'ownerName'</span><span class="punctuation">)</span><span class="punctuation">;</span>
  <span class="comment">// from pets</span>
  <span cla