<?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 do an SQL query for the lowest value? in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582975#M6385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks - that worked great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2012 18:55:11 GMT</pubDate>
    <dc:creator>RebeccaNoll</dc:creator>
    <dc:date>2012-01-09T18:55:11Z</dc:date>
    <item>
      <title>Is there a way to do an SQL query for the lowest value?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582973#M6383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to build a model that will first select a group of points based on an ID field and then select the lowest value in a distance field so I will get the shortest distance for each group.&amp;nbsp; Is there a way to build a query for that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rebecca&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 18:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582973#M6383</guid>
      <dc:creator>RebeccaNoll</dc:creator>
      <dc:date>2012-01-09T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do an SQL query for the lowest value?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582974#M6384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am trying to build a model that will first select a group of points based on an ID field and then select the lowest value in a distance field so I will get the shortest distance for each group.&amp;nbsp; Is there a way to build a query for that?&lt;BR /&gt;Thanks!&lt;BR /&gt;Rebecca&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, not within a single table/feature class.&amp;nbsp; There is a way to do it if there are two tables/feature classes.&amp;nbsp; See the discussion on &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s500000033000000.htm"&gt;Subqueries here&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I normally use the SummaryStatistics tool in the Analysis group to get a Min value and join it to the ID to select the lowest record or make other adjustments relative to the minimum value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 18:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582974#M6384</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-01-09T18:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do an SQL query for the lowest value?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582975#M6385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks - that worked great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 18:55:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582975#M6385</guid>
      <dc:creator>RebeccaNoll</dc:creator>
      <dc:date>2012-01-09T18:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do an SQL query for the lowest value?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582976#M6386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks - that worked great!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please mark the thread answered for the benefit of others looking for solutions to similar problems.&amp;nbsp; I assume you used the SummaryStatistics approach given the speed of your respoinse.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 19:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-there-a-way-to-do-an-sql-query-for-the-lowest/m-p/582976#M6386</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-01-09T19:01:26Z</dc:date>
    </item>
  </channel>
</rss>

