<?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 Need SQL Help - Select Max Value&amp;nbsp; by Type Field in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/need-sql-help-select-max-value-nbsp-by-type-field/m-p/732428#M24143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I can best describe my problem with a dummy example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's say I have a City point shapefile of all the cities in the US.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The City point shapefile has three attributes: city_name, state_name, and population.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I select the highest population city for each state?&amp;nbsp; In the end, I'll have one point selected for each state representing the highest population city for that state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am hoping to do this using a SQL script.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gosh, this sounds so GIS101, but I really need some help &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 22:46:50 GMT</pubDate>
    <dc:creator>DawnLasprugato</dc:creator>
    <dc:date>2010-04-12T22:46:50Z</dc:date>
    <item>
      <title>Need SQL Help - Select Max Value  by Type Field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/need-sql-help-select-max-value-nbsp-by-type-field/m-p/732428#M24143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I can best describe my problem with a dummy example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's say I have a City point shapefile of all the cities in the US.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The City point shapefile has three attributes: city_name, state_name, and population.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I select the highest population city for each state?&amp;nbsp; In the end, I'll have one point selected for each state representing the highest population city for that state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am hoping to do this using a SQL script.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gosh, this sounds so GIS101, but I really need some help &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 22:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/need-sql-help-select-max-value-nbsp-by-type-field/m-p/732428#M24143</guid>
      <dc:creator>DawnLasprugato</dc:creator>
      <dc:date>2010-04-12T22:46:50Z</dc:date>
    </item>
    <item>
      <title>Need SQL Help - Select Max Value  by Type Field</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/need-sql-help-select-max-value-nbsp-by-type-field/m-p/732429#M24144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would run the Summary Statisitcs tool, grouped by state to give me the city with the highest population.&amp;nbsp; From there join the table back to your feature class or run a query with the city names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/need-sql-help-select-max-value-nbsp-by-type-field/m-p/732429#M24144</guid>
      <dc:creator>AlanToms</dc:creator>
      <dc:date>2010-04-13T11:18:35Z</dc:date>
    </item>
  </channel>
</rss>

