<?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 Make Query Table: SQL not working in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/make-query-table-sql-not-working/m-p/759475#M42675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem: I am trying to create a Time Series Animation of Census Population in Chicago from 1930 to 2010 (per 10 years) by Community Areas (77).&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/347771_pastedImage_6.png" style="width: 557px; height: 405px;" /&gt;&lt;/P&gt;&lt;P&gt;I already transposed the data, ensuring that every community area feature had a population estimate per 10 years with a final record count of 693.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/347772_pastedImage_7.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am having trouble with the 'Make Query Table' step. I am trying to make a one to many join by Community Area name. Here is how it already looks like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/347733_pastedImage_1.png" style="width: 620px; height: 419px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the attempted query:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/347734_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;The query is verified, but no records were returned. (I attempted to remove the quotes but generated an error message when I clicked 'OK' on Query Builder and Make Query Table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I heard that this could've been a potential bug, so I went through with that query and my final table was not appropriate. I had the same 693 records, BUT the 'CommunityAreasFC.community' field repeated only 1 community area value ('DOUGLAS').&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reversed the query ('widedataset_transposefields.Comm_Areas'='CommunityAreasFC.community') and had a different output, but same problem. 77 records were produced with 'widedataset_transposefields.Comm_Areas' field repeating 'Rogers Park' for all values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing in my query? I am working in ArcGIS 10.4 and working in a geodatabase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Apr 2017 22:41:45 GMT</pubDate>
    <dc:creator>LindsayTrujillo</dc:creator>
    <dc:date>2017-04-23T22:41:45Z</dc:date>
    <item>
      <title>Make Query Table: SQL not working</title>
      <link>https://community.esri.com/t5/data-management-questions/make-query-table-sql-not-working/m-p/759475#M42675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem: I am trying to create a Time Series Animation of Census Population in Chicago from 1930 to 2010 (per 10 years) by Community Areas (77).&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/347771_pastedImage_6.png" style="width: 557px; height: 405px;" /&gt;&lt;/P&gt;&lt;P&gt;I already transposed the data, ensuring that every community area feature had a population estimate per 10 years with a final record count of 693.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/347772_pastedImage_7.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am having trouble with the 'Make Query Table' step. I am trying to make a one to many join by Community Area name. Here is how it already looks like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/347733_pastedImage_1.png" style="width: 620px; height: 419px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the attempted query:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/347734_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;The query is verified, but no records were returned. (I attempted to remove the quotes but generated an error message when I clicked 'OK' on Query Builder and Make Query Table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I heard that this could've been a potential bug, so I went through with that query and my final table was not appropriate. I had the same 693 records, BUT the 'CommunityAreasFC.community' field repeated only 1 community area value ('DOUGLAS').&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reversed the query ('widedataset_transposefields.Comm_Areas'='CommunityAreasFC.community') and had a different output, but same problem. 77 records were produced with 'widedataset_transposefields.Comm_Areas' field repeating 'Rogers Park' for all values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing in my query? I am working in ArcGIS 10.4 and working in a geodatabase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 22:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/make-query-table-sql-not-working/m-p/759475#M42675</guid>
      <dc:creator>LindsayTrujillo</dc:creator>
      <dc:date>2017-04-23T22:41:45Z</dc:date>
    </item>
  </channel>
</rss>

