<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to join using Make Query Table? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-join-using-make-query-table/m-p/1392162#M79922</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.2; File Geodatabase:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to learn how to use Make Query Table, possibly as an alternative join mechanism when Add Join isn't suitable, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Select By Attributes on joined data — For rows that are 1:M, all rows in the join table get selected, despite selection criteria&lt;/EM&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/select-by-attributes-on-joined-data-for-rows-that/td-p/1390893" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-questions/select-by-attributes-on-joined-data-for-rows-that/td-p/1390893&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;The docs say:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-query-table.htm" target="_self"&gt;&lt;SPAN&gt;Make Query Table (Data Management)&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The query can be used to &lt;STRONG&gt;join several tables&lt;/STRONG&gt; or return a subset of fields or rows from the original data in the database.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I thought&amp;nbsp;Make Query Table might do a 1:1 or 1:M join between two tables using a common join field. But when I tested it, the resulting QueryTable isn't what I expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1709759673845.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97151iABA146A582728C23/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1709759673845.png" alt="Bud_1-1709759673845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it doing some sort of cartesian product/CROSS JOIN?&lt;/P&gt;&lt;P&gt;What am I missing? What's the intended use case? How can I do a 1:1 or 1:M join?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 17:03:08 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-03-08T17:03:08Z</dc:date>
    <item>
      <title>How to join using Make Query Table?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-join-using-make-query-table/m-p/1392162#M79922</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.2; File Geodatabase:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to learn how to use Make Query Table, possibly as an alternative join mechanism when Add Join isn't suitable, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Select By Attributes on joined data — For rows that are 1:M, all rows in the join table get selected, despite selection criteria&lt;/EM&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/select-by-attributes-on-joined-data-for-rows-that/td-p/1390893" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-questions/select-by-attributes-on-joined-data-for-rows-that/td-p/1390893&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;The docs say:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-query-table.htm" target="_self"&gt;&lt;SPAN&gt;Make Query Table (Data Management)&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The query can be used to &lt;STRONG&gt;join several tables&lt;/STRONG&gt; or return a subset of fields or rows from the original data in the database.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I thought&amp;nbsp;Make Query Table might do a 1:1 or 1:M join between two tables using a common join field. But when I tested it, the resulting QueryTable isn't what I expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1709759673845.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97151iABA146A582728C23/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1709759673845.png" alt="Bud_1-1709759673845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it doing some sort of cartesian product/CROSS JOIN?&lt;/P&gt;&lt;P&gt;What am I missing? What's the intended use case? How can I do a 1:1 or 1:M join?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 17:03:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-join-using-make-query-table/m-p/1392162#M79922</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-03-08T17:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to join using Make Query Table?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-join-using-make-query-table/m-p/1396411#M80385</link>
      <description>&lt;P&gt;It looks like the join fields need to be specified in the WHERE clause SQL expression:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Esri Case #03574486 - How to join using Make Query Table?&lt;/P&gt;&lt;P&gt;…[use] SQL expressions. Please refer to the following link for examples of queries using the Make Query Table tool.&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/examples-of-queries-with-the-make-query-table-tool.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/examples-of-queries-with-the-make-query-table-tool.htm&lt;/A&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1710475203604.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98130iF545EB0705E14C62/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1710475203604.png" alt="Bud_0-1710475203604.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 04:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-join-using-make-query-table/m-p/1396411#M80385</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-03-15T04:01:09Z</dc:date>
    </item>
  </channel>
</rss>

