<?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 Re: Make query table error in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718117#M40632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wes, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm working with 10.3 version of ArcGIS.... I try removing the quotes but the table don´t have any records too...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2016 17:15:41 GMT</pubDate>
    <dc:creator>AlonsoDiego</dc:creator>
    <dc:date>2016-06-28T17:15:41Z</dc:date>
    <item>
      <title>Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718114#M40629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to join one feature class and one table. This is a one to multiple join, therefore, my only option seems to be by creating a query table. My problem is that the fields I want to join do not seem to be matched properly when I run the query table tool. I've tried using the following expression in the query table expression field to indicate that these are the fields to be joined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: 'Open Sans','sans-serif';"&gt;&lt;STRONG&gt;&lt;EM&gt;("Infraestructura.idInfraestructura" = "InfraestructuraServicio.idInfraestructura") AND ("InfraestructuraServicio.idServicio" = "Servicio.idServicio")&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the layer result is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I may be doing something wrong (perhaps the problem is with my query), but I'm not sure what. When I verify my query in the query builder window, I keep getting a message saying&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;The expression was verified successfully but no records were returned&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;which does not make any sense as there should definitely be some matches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 11:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718114#M40629</guid>
      <dc:creator>AlonsoDiego</dc:creator>
      <dc:date>2016-06-28T11:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718115#M40630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you would "Copy As Python Snippet" and paste the resulting ArcPy code here, it might help people reply since they would have more of the arguments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using just one or the other condition?&amp;nbsp; Do you get results from doing both alone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718115#M40630</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-28T13:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718116#M40631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At 10.2 Make query table has a bug. Not sure what version your working with, but try removing the quotes from your field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 16:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718116#M40631</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-28T16:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718117#M40632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wes, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm working with 10.3 version of ArcGIS.... I try removing the quotes but the table don´t have any records too...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 17:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718117#M40632</guid>
      <dc:creator>AlonsoDiego</dc:creator>
      <dc:date>2016-06-28T17:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718118#M40633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here I post the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... # Import arcpy module&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... import arcpy&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... # Local variables:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... Infraestructura = "Infraestructura"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... InfraestructuraServicio = "InfraestructuraServicio"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... Servicio = "Servicio"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... query2 = "query2"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... # Process: Make Query Table&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;... arcpy.MakeQueryTable_management("Infraestructura;InfraestructuraServicio;Servicio", query2, "ADD_VIRTUAL_KEY_FIELD", "", "Infraestructura.Shape #;Infraestructura.idInfraestructura #;Servicio.idServicio #", "Infraestructura.idInfraestructura = InfraestructuraServicio.idInfraestructura AND Servicio.idServicio = InfraestructuraServicio.idServicio"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;​Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 17:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718118#M40633</guid>
      <dc:creator>AlonsoDiego</dc:creator>
      <dc:date>2016-06-28T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718119#M40634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you are trying to do, and it generally seems right.&amp;nbsp; Could you sanitize some subsets of data and post them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting back to the other question I asked earlier.&amp;nbsp; What happens if you put only one condition in at a time?&amp;nbsp; Results, no results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 18:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718119#M40634</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-28T18:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718120#M40635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I uploaded my geodatabase to dropbox, here is the link: &lt;A href="https://dl.dropboxusercontent.com/u/108321176/Infraestructura.mdb" title="https://dl.dropboxusercontent.com/u/108321176/Infraestructura.mdb"&gt;https://dl.dropboxusercontent.com/u/108321176/Infraestructura.mdb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put only one condition the results are wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 05:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718120#M40635</guid>
      <dc:creator>AlonsoDiego</dc:creator>
      <dc:date>2016-06-29T05:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718121#M40636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is good you uploaded data, there are several important aspects that weren't described originally.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data is in a personal geodatabase&lt;UL&gt;&lt;LI&gt;Although most tools still support working with personal geodatabases, it is always good to disclose what type of back-end storage is being used, especially shape files and personal geodatabases.&amp;nbsp; As versions march on, the number of quirks with shape files and personal geodatabases grow.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;InfraestructuraServicio is a relationship class&lt;UL&gt;&lt;LI&gt;Although the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/make-query-table.htm"&gt;Make Query Table &lt;/A&gt;documentation doesn't explicitly state that relationship classes are not supported, it also doesn't say they are supported.&amp;nbsp; All of the language in the documentation talks about "tables."&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Infraestructura is in a feature dataset while the other object/tables are in the root-level of the geodatabase.&lt;UL&gt;&lt;LI&gt;According to the Make Query Table documentation, "All input feature classes or tables must be from the same input workspace."&amp;nbsp; I don't have a link to the documentation on-hand, but I believe feature datasets are considered workspaces in and of themselves.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;You are using field aliases that differ from actual field names and they have spaces in them.&lt;UL&gt;&lt;LI&gt;I don't know whether this is affecting anything, but it is something I typically don't work with, especially field aliases with spaces in the name.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a handful of changes here and there, but I kept generating different error messages.&amp;nbsp; I don't know what factors above are playing into the issue you are having.&amp;nbsp; I would start by creating a file geodatabase and working with 3 tables (no relationship classes) with no field aliases in the root-level of the geodatabase.&amp;nbsp; If that works, start adding back in aspects like field aliases or move data to personal geodatabase.&amp;nbsp; At some point, you will stumble on what is breaking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&amp;nbsp; It appears the tool will work with the data as-is, if the quotes are removed from the expression.&amp;nbsp; Furthermore, there seems to be a bug in the expression builder that generates an error when the quotes are removed and the expression is tested,&amp;nbsp; but yet the expression still works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 15:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718121#M40636</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-29T15:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718122#M40637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it to work in 10.2 this way.&lt;/P&gt;&lt;P&gt;Infraestructura.idInfraestructura = InfraestructuraServicio.idInfraestructura AND Servicio.idServicio = InfraestructuraServicio.idServicio&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="330" src="https://community.esri.com/legacyfs/online/209934_pastedImage_0.png" style="height: 330px; width: 404.348px;" width="404" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 15:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718122#M40637</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-29T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718123#M40638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting.&amp;nbsp; I am running 10.4.1 and got your syntax to work.&amp;nbsp; Why I didn't think it would work when I tried earlier was that I was using the expression builder to validate expressions and it generates an error:&amp;nbsp; "There was an error with the expression.&amp;nbsp; General function failure [Infraestructura] Too few parameters.&amp;nbsp; Expected 3."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it seems to work, but there is a bug in the expression builder that says the expression isn't valid when tested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 16:06:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718123#M40638</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-29T16:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718124#M40639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua I spent a long time on the phone with ESRI on this issue. It is a known bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:30:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718124#M40639</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-29T17:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718125#M40640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the bug number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718125#M40640</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-29T17:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718126#M40641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry no&lt;/P&gt;&lt;P&gt;See these posts no bug number but it appears the bug has been around awhile&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/supportcenter/2012/05/10/a-quick-tip-on-performing-a-1m-join/" title="https://blogs.esri.com/esri/supportcenter/2012/05/10/a-quick-tip-on-performing-a-1m-join/"&gt;A Quick Tip on Performing a 1:M Join | Support Services Blog&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/supportcenter/2012/05/10/a-quick-tip-on-performing-a-1m-join/mqt2/" title="https://blogs.esri.com/esri/supportcenter/2012/05/10/a-quick-tip-on-performing-a-1m-join/mqt2/"&gt;A quick tip on performing a 1:M join MQT2 – Support Services Blog&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718126#M40641</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-29T17:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718127#M40642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; At the end I did it!&lt;BR /&gt;In Key Field Options I selected USE_KEY_FIELDS, but t&lt;SPAN lang="en"&gt;hen &lt;SPAN&gt;I don't&lt;/SPAN&gt; indicated any of them in &lt;SPAN&gt;the table below. It seems that ArcGIS is taken by default or through the expression.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;In this way, the tool has worked &lt;SPAN&gt;......&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thanks to everyone!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718127#M40642</guid>
      <dc:creator>AlonsoDiego</dc:creator>
      <dc:date>2016-06-30T08:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718128#M40643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Poked around a bit, it turns out a related issue has been around since ArcGIS 9.2!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;A href="http://support.esri.com/bugs/nimbus/TklNMDQ4MTcw"&gt;Bug NIM048170&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synopsis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make Query Table Tool SQL Query Validation throws an error on valid query expressions when the expression contains a statement to set field in one table equal to a field in a second table.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Supposedly it is "In Product Plan," they are just moving rrreeeaaallllyyyy ssslllooowwwlllyyy.&amp;nbsp; I guess since ignoring the error works, they figure they have time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Funny enough, a very similar bug was logged with ArcGIS 10.0!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;A href="http://support.esri.com/bugs/nimbus/TklNMDk2NTA1"&gt;Bug NIM096505&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synopsis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL query validation in the Make Query Table tool displays an error on valid query expressions.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Oddly, this bug is still "New," which I guess makes some sense given they are still working on fixing the same bug in 9.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem, or a similar one, was logged again at ArcGIS 10.2.2.&amp;nbsp; The response is such a doozy I have to include it all.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;A href="http://support.esri.com/bugs/nimbus/TklNMTAxOTMw"&gt;Bug NIM101930&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synopsis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Make Query Table tool does not correctly process data from file geodatabases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional Information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works correctly in the current development build. Note that the quotes around the field names in the join expression must be removed for this to work. So "FeatureClass.FeatureID" = "Table.TableID" must be FeatureClass.FeatureID = Table.TableID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternate Solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Migrate the data to a personal geodatabase. 2. Make sure to adjust the syntax of the expression to brackets.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The status is "Not in Current Product Plan," which is a bit confusing to me, but maybe they don't plan on addressing it because it is already working in the "current development build," although we have no idea what build that is.&amp;nbsp; My favorite suggestion is to copy data to a personal geodatabase, which we know the expression builder doesn't build valid expressions for.&amp;nbsp; The user could put the brackets in themselves, just don't try to verify the syntax because you will get a bogus error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the issue still exists, and seems to be larger than just validating syntax, I opened another bug with Esri.&amp;nbsp; Who knows, maybe fourth time will be a charm.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;#BUG-000097508&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Query expression builder in the Make Query Table geoprocessing tool uses inconsistent delimiter syntax, throws inconsistent errors and leads to inconsistent results in 10.4.1 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 16:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718128#M40643</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-30T16:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make query table error</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718129#M40644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update, update, hear all about it!&amp;nbsp; Supposedly, this matter will finally be put to rest with ArcGIS 10.5.1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: medium; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: pre-wrap; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;A href="http://support.esri.com/bugs/nimbus/QlVHLTAwMDA5NzUwOA=="&gt;BUG-000097508: The Query Builder of the Make Query Table geoprocess..&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 20:13:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-error/m-p/718129#M40644</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-13T20:13:49Z</dc:date>
    </item>
  </channel>
</rss>

