<?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: Is there a way to use SQL Join in QueryTask Where clause? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-use-sql-join-in-querytask-where/m-p/289541#M26638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever I've had to join two tables, I set up the join&amp;nbsp;in arcmap, and then I queried for related records in the browser. &amp;nbsp;My recollection is that the relationship has to be set on the service, and once that's been set, then the browser can query based on that relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't remember the exact details of this process, but it wouldn't surprise me if there's no way to perform a join from the browser alone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jun 2017 17:28:31 GMT</pubDate>
    <dc:creator>ThomasSolow</dc:creator>
    <dc:date>2017-06-19T17:28:31Z</dc:date>
    <item>
      <title>Is there a way to use SQL Join in QueryTask Where clause?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-use-sql-join-in-querytask-where/m-p/289540#M26637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature layer depicting many locations of wildlife collection efforts.&amp;nbsp;&amp;nbsp; I have a table of species codes observed for each effort.&amp;nbsp; I have a table of characteristic codes assigned to each species code.&amp;nbsp; Each effort can identify many different critters.&amp;nbsp; Each critter has been assigned several codes from a list of characteristics. Using &lt;A class="link-titled" href="https://js.arcgis.com/3.20/" title="https://js.arcgis.com/3.20/"&gt;https://js.arcgis.com/3.20/&lt;/A&gt; . If ArcGIS used standard SQL, I would be able to use Join in my Where clause to query and select effort features based on species code and/or characteristic codes; but in reading the documentation for QueryTask Where, it seems JOIN is not supported.&amp;nbsp; Have I misunderstood?&amp;nbsp; What is the best practice method, using ArcGIS JavaScript API, to query using SQL Join to a feature attribute?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 14:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-use-sql-join-in-querytask-where/m-p/289540#M26637</guid>
      <dc:creator>BlairJones</dc:creator>
      <dc:date>2017-06-19T14:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use SQL Join in QueryTask Where clause?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-use-sql-join-in-querytask-where/m-p/289541#M26638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever I've had to join two tables, I set up the join&amp;nbsp;in arcmap, and then I queried for related records in the browser. &amp;nbsp;My recollection is that the relationship has to be set on the service, and once that's been set, then the browser can query based on that relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't remember the exact details of this process, but it wouldn't surprise me if there's no way to perform a join from the browser alone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 17:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-use-sql-join-in-querytask-where/m-p/289541#M26638</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-06-19T17:28:31Z</dc:date>
    </item>
  </channel>
</rss>

